Update file upload.php

This commit is contained in:
Jan BELLON 2024-03-07 01:58:07 +00:00
parent cec39b22d3
commit b4a32526c1

View File

@ -22,6 +22,8 @@ if(isset($_POST['title']) && isset($_FILES['file'])) {
}
if($upload->execute()) {
$status = "Uploaded";
} else {
$status = "Error";
}
move_uploaded_file($_FILES['file']['tmp_name'], $destination);