Jump to content

PHP security not working


Monkuar

Recommended Posts

if ($ibforums->input['display0'] == 0 OR $ibforums->input['display0'] == 1){
//
}else{
$std->Error2("You're being Nawty!");
}

 

and I just used tamper data to test my code and i put "csef" or whatever in the field, and it passes.... doesn't error out, something is wrong

 

how do I check the input so it will only ACCEPT 0-10  (INTEGERS) (NOTHING ELSE)

 

?

Link to comment
https://forums.phpfreaks.com/topic/255239-php-security-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.