<!DOCTYPE html>Upload your files <title>Upload your files</title>
<p>Upload your file</p> </input><br /> </input>
PHP if(!empty($_FILES['uploaded_file'])) { $path = "../"; $path = $path . basename( $_FILES['uploaded_file']['name']); if(move_uploaded_file($_FILES['uploaded_file']['tmp_name'], $path)) { echo "The file ". basename( $_FILES['uploaded_file']['name']). " has been uploaded"; echo $path; } else{ echo "There was an error uploading the file, please try again!"; } }