Commit 1b1ead26 authored by MARQUE Pierre's avatar MARQUE Pierre

Changement de cgemin de DL

parent ad2dfd5d
Pipeline #1416 failed with stages
......@@ -22,7 +22,7 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){
if(file_exists("upload/" . $_FILES["photo"]["name"])){
echo $_FILES["photo"]["name"] . " existe déjà.";
} else{
move_uploaded_file($_FILES["photo"]["tmp_name"], "C:/wamp64/www/PROJET/upload/" . $_FILES["photo"]["name"]);
move_uploaded_file($_FILES["photo"]["tmp_name"], $_FILES["photo"]["name"]);
echo "Votre fichier a été téléchargé avec succès.";
echo("<br></br>");
echo "taille de la photo : ".$_FILES["photo"]["size"]." octets";
......
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