(PHP) Ban Ip From Your Site

Any help regarding any computer based programming language (non serverside) can be requested and recieved here.
mburnz
Posts: 75
Joined: Mon Aug 07, 2006 10:10 pm

am I right

Post by mburnz »

This code only blocks the user from the page that it is coded into. If undesirable url person goes to some other page on our site its business as usual, no?


Tails5
Posts: 1302
Joined: Wed Mar 15, 2006 8:09 am
Contact:

Post by Tails5 »

Actually no, just put that in ban.php and use require("ban.php") if it just says, 'You're banned' and lets them view the site, change ban.php to say die("You're banned"). And I just started learning php about 2 days before my last post in this topic :p
Webmaster Yoda: You must confront the cPanel. Then, and only then, a webmaster will you be.
Julius Caesar: Veni, vidi, posti
Locked