40000000) { echo "Your file is too large.
"; return; } //Here we check that $ok was not set to 0 by an error //If everything is ok we try to upload it if(!move_uploaded_file($_FILES['uploaded']['tmp_name'], $target)) { echo "Sorry, there was a problem uploading your file."; return; } echo printHTMLHead(); echo "

The file has been uploaded: " . basename( $_FILES['uploaded']['name']) . ".


How to proceed?

";