Jump to content


This topic is now archived and is closed to further replies.


IP Functions?

Recommended Posts

Asuming you have already ran the query for the IP, and thrown it into $banned[ip]:

[code]$ip = $_SERVER[REMOTE_ADDR];

if($ip == $banned[ip])

{header("Location: banned.php");}[/code]

Of course there is more to it, and diferent methods can be used....this should give you an idea.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.