when I use this code and pass the uId of 55 I expect it to return "cool".
but I get "not" when I type
http://myurl.com/test.php?uId=55
any ideas.
Code:
PHP Code:<?php
$uId = $_GET['uId'];
function Secure(){
if($uId == 55){
return true;
}
}
if(Secure()){
echo "cool";
}else{
echo "not";
}
?>
Please help




Bookmarks