Just put this script as high up in the head section of the page, and change the IP you want to ban. NOTE: this only works on one page, not for all your pages. This needs to go on each page you want to ban this person.
Code:<script type="text/javascript"> ip = '<!--#echo var="REMOTE_ADDR"-->' //separate ips with commas bannedips=["11.11.11.11"] handleips=bannedips.join("|") handleips=new RegExp(handleips, "i") if (ip.search(handleips)!=-1){ alert("IP is banned on this site! Please wait...") window.location.replace("http://www.google.com") } </script>
Similar Threads:
There are currently 1 users browsing this thread. (0 members and 1 guests)
Design Sites:
vBulletin Mods
Facebook Covers | Free Facebook Covers
Google Covers | Google Plus Covers
Game Sites:
MMORPG | MW3