View Single Post
01-21-2011, 01:40 PM   #5
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
If you have some PHP code, and you want to check to see if an IP address is of a known spammer, put the function in the first post of this thread into your PHP script. WHERE exactly I cannot tell you as that is different in every script.

Then you just pass the IP to the function and it will tell you true or false:

Code:
if (blacklisted('123.123.111.123'))
{
## This IP is blacklisted!
}
If you think you can just plug this into any script without any programming knowledge, then I would say no. You have to have some understanding how the code is working. This is a generic function, not a specific one for a particular program.
Jeff is offline   Reply With Quote