Test upload image 3

This commit is contained in:
nox 2019-10-14 02:15:18 +02:00
parent 6e1a0110f7
commit f434a72ba2
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ $response = 0;
if(in_array($file_extension,$image_ext)){
// Upload du fichier
echo "<br />files image= ".$_FILES['image']['tmp_name'];
echo "<br /><br />";
var_dump($_FILES);
die();
if(move_uploaded_file($_FILES['image']['tmp_name'] ?? $_FILES['add_image']['tmp_name'],$location)){
$response = $location2;