i forgot how to do if statments lol with or init
if($_SERVER['REMOTE_ADDR'] != "127.0.0.1" OR $_REQUEST['pass'] != "*******"){
trigger_error("Sorry your not authenticated.");
}
i forgot how to do if statments lol with or init
if($_SERVER['REMOTE_ADDR'] != "127.0.0.1" OR $_REQUEST['pass'] != "*******"){
trigger_error("Sorry your not authenticated.");
}
That looks okay, though personally I prefer to use || instead of or, and use exceptions instead of trigger_error(). How does it not work?
because OR dosen't work i forgot || and i put OR to show u where my synax is wrong.