You are here: Re: Protect script from being hijacked by spammers? « PHP Programming Language « IT news, forums, messages
Re: Protect script from being hijacked by spammers?

Posted by news@celticbear.com on 01/25/06 21:31

Erwin Moller wrote:
> news@celticbear.com wrote:
>
[..]
> > $mailheaders .= "Reply-To: $useremail\n\n";
> > mail("customerservice@(our domain).com", "Customer Service", $msg,
> > $mailheaders);
> >
[..]
> Have a look at your mailheaders, it will accept $useremail without question.
>
> That is where the spamming starts.
>
> To fix this spamming, be sure $useremail is just a simple emailadres, and
> above all, make sure it doesn't contain \n.
[..]
> Erwin

Thanks for the reply! Much appreciated.
Liam

 

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

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