who have the coding for redirect banned ips/browser to a another place
Redirect Banned Ip/browsers
Collapse
X
-
stringfellowhawkTags: None
-
add this in ipban.php
Code:<?php // IP AND BROWSER BAN $browser = explode ('/', $HTTP_USER_AGENT); if($REMOTE_ADDR=="USERS IP" AND $browser[0]=="USERS BROWSER"){ header ('Location: yourbanned.php');} // BROWSER BAN $browser = explode ('/', $HTTP_USER_AGENT); if($browser[0]=="USERS BROWSER"){ header ('Location: yourbanned.php');} ?>8th wonder of the world
-
stringfellowhawk
i use the harstyle scriptnow put the following on all your pages
mine is betterCode:<? include("ipban.php"); ?>
[/b]
Comment
-
mobix
They both not good, becouse GPRS providers IP is same for all users and if you ban that ip with mobile model all with this same info will be banned, many unwanted to
Comment
-
mobix
Too big riskNot every user has the same phone software installed even if they have same phone models[/b]
to ban someone else what not needed to be :/
Best was that if we could ban be IMEI or SIM card info
but that is inposible
Comment

Comment