This plugin produces errors when used with PHP v5.3x.
The errors are due to the ereg() function being "depreciated" in PHP v.5.3+. The suggested alternative to use the preg_match() function.
I am no "regular expressions" expert and seem unable to fix this on my own.Could someone please post the corrected corresponding "preg_match()" expressions to use in order to fix the offending lines in SpambotCheckHelpers.php?
line 103: if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $sMailToCheck))
line 115: if (!ereg("^(([A-Za-z0-9!#$%&'*+/
^_`{|}~-][A-Za-z0-9!#$%&'*+/
^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i]))
line 123: if (!ereg("^\[?[0-9\.]+\]?$", $email_array[1]))
line 132: if (!ereg("^(([A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])|([A-Za-z0-9]+))$",$domain_array[$i]))
Thank You.