Re: Email Validation Error
Posted: Sun Mar 30, 2008 2:30 am
I think a problem is that there is no input validation for any of the form fields posted. So $mailmessage, $_POST['field_1'] and $_POST['field_2'] should have at least some basic input filtering/validation.
As to the spam: you could also try something with an extra input field and a basic simple question. Like "Please uncheck the following checkbox to show this is not spam". Or "Who is bigger a cat or a dog?". Most spambots will choke on those.
But I do understand that, just as with the captcha, something like that makes your form harder to use.
As to the spam: you could also try something with an extra input field and a basic simple question. Like "Please uncheck the following checkbox to show this is not spam". Or "Who is bigger a cat or a dog?". Most spambots will choke on those.
But I do understand that, just as with the captcha, something like that makes your form harder to use.