PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
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:
// 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;