You are here: Re: Preventing spammers from using mail script « All PHP « IT news, forums, messages
Re: Preventing spammers from using mail script

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация