Why would a file upload time out...
Posted: Thu May 25, 2006 1:50 pm
I have a php program that times out or something weird when I try to upload a file any larger than like a meg. I checked with my host that the upload-max-file-size is 16MB, the max size in the php file is 150000000000 Bytes... and yet if the file is larger than like a meg, it stops here:
Code: Select all
// check if no file selected.
If (!IS_UPLOADED_FILE($_FILES['filetoupload']['tmp_name'])) {
Echo "<tr><td class='content'><strong>Error: Please select a file to upload!. </strong></td></tr>";
$ERROR_FUNCTION = true;