Better explanations I101
This commit is contained in:
@@ -112,24 +112,24 @@ if (isset($_GET['id'])){
|
||||
}
|
||||
|
||||
if ( strval( intval( $id ) ) != strval( $id ) ) {
|
||||
naughty("e015b7c89da03385a9156d3e5d2eb25d");
|
||||
naughty("e015b7c89da03385a9156d3e5d2eb25d The id is not a integer");
|
||||
}
|
||||
|
||||
if ( intval( $id ) <= 0 ) {
|
||||
naughty("1493a07dec01a006d11bf43d2f17e5aa");
|
||||
naughty("1493a07dec01a006d11bf43d2f17e5aa The ID is less than or equal to one");
|
||||
}
|
||||
|
||||
if ( $num_get_args > 2 ) {
|
||||
naughty("79543dbb498ec47404aaed4d56bdc22b");
|
||||
naughty("79543dbb498ec47404aaed4d56bdc22b The number of arguments is greater than 2");
|
||||
}
|
||||
|
||||
if ( intval($id) > 9999 ) {
|
||||
naughty("f1f531c768f64404cb00437254b06d71");
|
||||
naughty("f1f531c768f64404cb00437254b06d71 The id is too high");
|
||||
}
|
||||
|
||||
if ( $id != 9999 ) {
|
||||
if ( isset( $show_array[$id] ) ) {
|
||||
naughty("2227263ac7171aca3214d155dec539ad");
|
||||
naughty("2227263ac7171aca3214d155dec539ad The id is still too high");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user