![]() |
|
|
+ Search |
![]()
|
Feb 24th, 2008 00:15
dman, William Steve Applegate, joachim molund, http://www.ttnr.org
Use regular expressions, like this :
if (ereg("^213\..*", $REMOTE_ADDR)) {
header("Location: http://redirectpage.tld/");
exit;
}
if (ereg(".*\.isp\.net$", gethostbyaddr($REMOTE_ADDR))) {
header("Location: http://redirectpage.tld/");
exit;
}