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