Posted by J.O. Aho on 11/21/06 05:27
affiliateian@gmail.com wrote:
> Is there a way code a php mail script so that spammers cannot utilize
> it to blast spam? At the moment, we are using a hidden value in the
> form for validation but anyone can see the hidden value in the form and
> push this value to the script. Would posting the form to itself (ie.
> embedding the php codes on the same page as the form) help in this
> matter? Any tips?
>
It's the FROM field they use to send spam, you should look for \r\n in the
FROM field, remove those and you should start to generate less spam out of
your box.
See http://www.php.net/manual/en/function.mail.php
//Aho
Navigation:
[Reply to this message]
|