Better explanations I101

This commit is contained in:
2025-11-25 19:33:15 +01:00
parent e8d9af1f61
commit 3c5a9f6a4f
6 changed files with 74 additions and 74 deletions

View File

@@ -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");
}
}
}