Test upload image 3
This commit is contained in:
parent
6e1a0110f7
commit
f434a72ba2
|
@ -20,6 +20,8 @@ $response = 0;
|
||||||
if(in_array($file_extension,$image_ext)){
|
if(in_array($file_extension,$image_ext)){
|
||||||
// Upload du fichier
|
// Upload du fichier
|
||||||
echo "<br />files image= ".$_FILES['image']['tmp_name'];
|
echo "<br />files image= ".$_FILES['image']['tmp_name'];
|
||||||
|
echo "<br /><br />";
|
||||||
|
var_dump($_FILES);
|
||||||
die();
|
die();
|
||||||
if(move_uploaded_file($_FILES['image']['tmp_name'] ?? $_FILES['add_image']['tmp_name'],$location)){
|
if(move_uploaded_file($_FILES['image']['tmp_name'] ?? $_FILES['add_image']['tmp_name'],$location)){
|
||||||
$response = $location2;
|
$response = $location2;
|
||||||
|
|
Loading…
Reference in New Issue