e per "maggiore" sicurezza, in realtà normale, dovresti controllare le variabili che usi nelle QUERY e generalmente che passi in GET e POST
esempio l'id
Codice PHP:$h=(int) $_POST["idl"];
if($h>0){
// esegui ciò che ti interessa
}else{
// problema perchè l'ID non è un numero oppure è = 0
}


Rispondi quotando