Commit d932ee42 authored by Okthane's avatar Okthane

update

parent 68d75900
......@@ -68,7 +68,7 @@
</ul>
</div>
<div class="col-md-3 my-auto d-flex justify-content-center">
<img name ="im_ID2" id="img-ID2" src="" height="150em"/>
<img name ="im_ID2" id="img-ID2" src="" height="150em"/>
</div>
<div id="div-filename"></div>
</div>
......
......@@ -11,7 +11,7 @@ require_once "vendor/autoload.php";
if($_SERVER["REQUEST_METHOD"] == "POST")
{
if(isset($_FILES["photo"]) && $_FILES["photo"]["error"] == 0)
if(isset($_FILES["photo"]) && $_FILES["photo"]["error"] == 0 )
{
$allowed = array(
"jpg" => "image/jpeg",
......
......@@ -219,7 +219,7 @@ async function photoDetourage(formData){
url: URL_DETOURAGE,
method: 'POST',
enctype: 'multipart/form-data',
enctype: 'multipart/form-data' ,
data: formData,
......
<?php
//dossier temporaitre pour les images
define('PATH_TO_TEMP', "temp");
define('PATH_TO_TEMP', "temp");
// Vérifier si le formulaire a été soumis
if($_SERVER["REQUEST_METHOD"] == "POST")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment