Your best bet would be using regular expressions in PHP to check that the data entered into your email field is a valid email address. In my experience spammers usually hijack this particular field by adding HTML email headers to it so they can gain control of your script. Using regular expressions can make sure that nothing except "email@example.com" is entered in your email field. A good place to look for help on this is the PHP forums on www.sitepoint.com Let me know if you need any more help with this.cwesty said:Evening all!
After a recent issue with spam i had to remove my old contact.php page
Can anyone provide info for a secure script? Not necesarilly the code, but a useful link that I can use.
Cheers in advance.