RE: IP Address Filtering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
> I¹ve run into a slight problem. We maintain a Guestbook for 
> our company¹s
> website. Lately we have been getting a lot of ³Spam² entries into the
> Guestbook. 
> 
> I added a snippet into the PHP Script & a field in the mySQL 
> database to
> record the IP Address of posters. However, for the SPAM 
> posts, it records
> ³Null² instead of an IP Address. I¹m using $REMOTE_ADDR to 
> records the IP.
> It records IP Addresses of any genuine poster... But NULL for the spam
> poster. 
> 
> What else can I do to block the SPAM entry? Is there some other Unique
> Identifier that I can record of the Spam poster and then block him?

How about block any poster that does not report a valid $REMOTE_ADDR?

JM

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux