Quote from: allanb at May 14, 2010, 03:48 PM
All coding is done just still busy testing.
Nothing much new just some updates and XHTML errors fixed taking way longer than anticipated.
Hi Allan!
What PHP version are you testing against?
In 5.3 function ereg is deprecated:
http://php.net/manual/en/reference.pcre.pattern.posix.php
I’ve changed some of this functions in the class to preg.
In webloginpe.class.php r84, line 2979:
if (!eregi("^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,7}$", $Email)) // pixelchutes
should be:
if (!preg_match(’/^[^@]+@[a-zA-Z0-9._-]+\.[a-zA-Z]+$/’, $Email)) // vhollo
(Source:
http://php.net/manual/en/function.preg-match.php#96910)
Line 2998:
if (ereg("^220", $Out = fgets($Connect, 1024)))
should be:
(??? - Could somebody help plz?)
Line 3009:
if (!ereg("^250", $From) || !ereg("^250", $To))
should be:
(??? - Could somebody help plz?)
And if Susan didn’t remove, line 795:
//$notification = ereg_replace(’\[\+post\.+[a-zA-Z]+\+\]’, ’’, $notification); remove sottwell
should be:
//$notification = preg_replace(’@\[\+post\.+[a-zA-Z]+\+\]@’, ’’, $notification); // vhollo // remove sottwell
As a thumb rule, preg needs a delimiter character at the beginning and at the end of the pattern. This can be anything not used in the pattern itself, otherwise in the pattern it must be escaped.