Anytime you're dealing with $_GET values, I recommend trying to make them always be numeric. That way, you can check for a trickery simply by checking whether or not the $_GET value is numeric:
<br><span style="text-shadow:1px 0px 1px #888">
<br>if(isset(is_numeric($_GET[value]))){
<br>do_something();
<br>//$_GET value is numeric, do some stuff
<br>}
<br>else{
<br>do_something_else();
<br>//Not numeric, you so bad, you go bye-bye
<br>}
<br></span>
The distinguished Skittles spake:[quote]Anytime you're dealing with $_GET values, I recommend trying to make them always be numeric. That way, you can check for a trickery simply by checking whether or not the $_GET value is numeric:
<br><br><span style="text-shadow:1px 0px 1px #888">
<br><br>if(isset(is_numeric($_GET[value]))){
<br><br>do_something();
<br><br>//$_GET value is numeric, do some stuff
<br><br>}
<br><br>else{
<br><br>do_something_else();
<br><br>//Not numeric, you so bad, you go bye-bye
<br><br>}
<br><br></span>