This commit is contained in:
Adrien MALINGREY 2024-10-10 18:08:42 +02:00
parent f413212db9
commit 8a9b822cf6

View File

@ -16,7 +16,6 @@ $basedir = "{$_SERVER['REQUEST_SCHEME']}://{$_SERVER['SERVER_NAME']}:{$_SERVER['
$args = ''; $args = '';
foreach ($inputs as $name => $value) { foreach ($inputs as $name => $value) {
echo "$name : $value $args<br>";
if (is_null($value)) { if (is_null($value)) {
http_response_code(400); http_response_code(400);
exit("Valeur incorecte pour le paramètre $option : " . filter_input(INPUT_GET, $option, FILTER_SANITIZE_FULL_SPECIAL_CHARS)); exit("Valeur incorecte pour le paramètre $option : " . filter_input(INPUT_GET, $option, FILTER_SANITIZE_FULL_SPECIAL_CHARS));