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]
|