forked from rebillar/site-accueil-insa
test ville
This commit is contained in:
parent
698d52c297
commit
b28ffee765
1 changed files with 0 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue