smart way
Codice PHP:
$id intval($_GET['id']);
if(
$id 0){
  
//do stuff 
}
// redirect not found page 404