I have a site with a contact for which has..
if (email_is_valid($youremail) && !eregi("\r",$youremail) && !eregi("\n",$youremail) && $yourname != "" && $yourmessage != "" && substr(md5($user_answer),5,10) === $answer)The site was upgraded to php 5.3 and now users received a deprecated warning....
I know its not perl, but can someone advise what the code should now be......
I have no idea and have tried to change with pregmatch directly but fail...miserably
Please help...
In reply to OT: eregi deprecated by ilottl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |