> -----Original Message----- > From: Pieter du Toit [mailto:pieterdt@xxxxxxxxxxxx] > Sent: Tuesday, November 07, 2006 1:43 AM > To: php-general@xxxxxxxxxxxxx > Subject: Spam using email on website > > Hi guys > > I have a website that is being crawled or whatever and i have a submission > form for an event. > > I keep on getting random mail from this form. > > I have even disabled the submit button on the form, but keep on getting > it. > > What can i do? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > You could put a security image on the page. http://www.devshed.com/c/a/PHP/Security-Images-in-PHP/ The security image sets a session variable that is not accessible by the client. The user must enter the code shown into a form field. When the form is submitted, the submit page checks that the security code entered matches the session variable. If not, no mail is sent and an optional error message is displayed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php