forked from rebillar/site-accueil-insa
test ville
This commit is contained in:
parent
5a261f64fd
commit
698d52c297
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ if(isset($_POST['add_epreuve'])){
|
|||
// 0 si une verification a invalidé le fichier
|
||||
// 2 si l'image existe déjà mais l'upload est valide, on va alors utiliser le nom pour la bdd
|
||||
$file_name = null;
|
||||
if($_FILES["file"]["name"] != ""){
|
||||
echo $_FILES["file"]["name"];
|
||||
if($_FILES["photo"]["name"] != ""){
|
||||
echo $_FILES["photo"]["name"];
|
||||
$EXT_WHITELIST = array("gif","jpg","jpeg","raw","png","svg");
|
||||
|
||||
/* gestion des uploads d'images indices */
|
||||
|
|
Loading…
Reference in a new issue