Jae
05-08-2006, 11:26 AM
Simple problem but i cant put my finger on it, any ideas ?
<?PHP
$staff_ips[1] = "84.71.128.117";
$staff_ips[2] = "84.71.128.118";
if($staff_ips[1] != $_SERVER['REMOTE_ADDR']){
die("You are not authorised to view this Page.");
else if($staff_ips[2] != $_SERVER['REMOTE_ADDR']){
die("You are not authorised to view this Page.");
}
}
?>
<?PHP
$staff_ips[1] = "84.71.128.117";
$staff_ips[2] = "84.71.128.118";
if($staff_ips[1] != $_SERVER['REMOTE_ADDR']){
die("You are not authorised to view this Page.");
else if($staff_ips[2] != $_SERVER['REMOTE_ADDR']){
die("You are not authorised to view this Page.");
}
}
?>