test ville

This commit is contained in:
Theo Mougnibas 2023-09-06 15:28:18 +02:00
parent 698d52c297
commit b28ffee765

View file

@ -53,13 +53,11 @@ if(isset($_POST['add_epreuve'])){
$file_name = "";
switch($upload_state){
case 1:
move_uploaded_file($_FILES["photo"]["tmp_name"],$target_file);
$file_name = htmlspecialchars($_FILES["photo"]["name"]);
break;
case 2:
move_uploaded_file($_FILES["photo"]["tmp_name"],$target_file);
$file_name = htmlspecialchars($_FILES["photo"]["name"]);
break;
case 0: