I don't even think max_execution_time is even relevant here, but it has been mentioned on several web pages.memory_limit = 210M
post_max_size = 200M
upload_max_filesize = 190M
max_input_time = 2400
max_execution_time = 2400
Relevant form code:
Code: Select all
<form enctype="multipart/form-data" method="POST" action="uploader.php">
Choose a file to upload: <input name="userfile" type="file" /><br />
<input type="submit" value="Upload File" /><br />
</form>Code: Select all
error_reporting(-1);
if (move_uploaded_file($_FILES['userfile']['tmp_name'], 'uploads/FreeAudio.mp3'))
echo "File is valid, and was successfully uploaded.\n";
else echo "Error when uploading file\n";