Log in

View Full Version : Help with my script please!



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.");
}
}
?>

PixelResources
05-08-2006, 11:41 AM
Try making the PHP non-caps i'm not sure if that does anything but try it anyway, if not what line has the error?

Eric30
05-08-2006, 12:18 PM
I replyed there http://www.habboxforum.com/showthread.php?t=203965

Want to hide these adverts? Register an account for free!