Reply to Re: How to Hack form 2 mail scripts

Your name:

Reply:


Posted by Yandos on 11/18/05 16:47

On 17.11.2005 12:40, Angelos wrote:
> Thanks for that,
>
> at the moment I am trying this solution
>
> <?php
> $from=$_POST["sender"];
> if (eregi("\r",$from) || eregi("\n",$from)){
> die("Why ?? :(");
> }
> ?>
>
> And if that spam continues ...I'll have to find something else ....
>
> What do "they" have to earn by sending all this SPAM ???
> Is there any Money involved ... i don't think so ...
>
> Anyway thanks for your replies !!!
>
>

Best way how to stop automated abuse is using php generated images,
similiar which yahoo uses to prevent automated sign-ups. Users then must
write down the control number/string for each submit and you compare if
the submited control numer corresponds to the one you have generated
before processing user input. PHP has functions to work with images like
imagettftext etc. Good luck.

Y.

[Back to original 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

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