Re: Spam using email on website
| From: | clive | Date: | Tue, 07 Nov 2006 08:35:23 +0000 |
| Subject: | Re: Spam using email on website | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244303@lists.php.net to get a copy of this message | ||
Pieter du Toit wrote:
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?you could use a CAPTCHA image (although not entirely spam proof) you could have a random variable in a hidden input field, perhaps the session id and check this variable when the form is submitted. also form validation is important and having certain fields that are required makes it a little harder for spammers.