You are here: Re: Ban IP Addresses « All PHP « IT news, forums, messages
Re: Ban IP Addresses

Posted by Andy on 09/19/05 00:56

"J.O. Aho" <user@example.net> wrote in message
news:3p5s71F8qspjU1@individual.net...
> Andy wrote:
>> Bellow is a script to ban spammers addresses who are using feedback form
>> to send spam. I am looking for a script , so I can get all senders IP
>> addresses. Your help will be appreciated.
>
> Just use a file where you can save the ip's that is posting, a bad but
> simple way could be
>
> exec("echo $HTTP_SERVER_VARS['REMOTE_ADDR'] >> /path/to/your/file.txt" );
>

OK. It works. Thank You.
I also made a path to CSV file, so IP address appears with collected message
posted by visitor.

 

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

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