okay then last idea would be try changing the timeout value of the browse you'r using can be found in about:config in Firefox and for IE ( MS NT+ ) : support.microsoft.com/kb/813827
Guys, please help me, still no luck. Everytime i upload a 10MB or greater, page expire but less 2 mb, i was able to upload. Im using windows 2003 server with php and apache install. I already set the ff. to apache.ini memory_limit=200M upload_max_filesize=200M post_max_size=400M max_execution_time=3600 and restarted the apache. I have only 2 files. 1 the form.php and upload.php form.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <form action="upload.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <label> <input name="uploadedfile" type="file" id="uploadedfile" /> </label> <label> <input type="submit" name="Submit" value="Submit" /> </label> </form> </body> </html> upload.php <?php $target_path = "../upvideos/"; $target_path = $target_path . basename( $_FILES['uploadedfile']['name']); if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) { echo "The file ".$target_path. basename( $_FILES['uploadedfile']['name']). " has been uploaded"; } else{ echo "There was an error uploading the file, please try again!"; } ?> Any ideas why my page expire ? Thanks, mike
At the top of the upload.php, try putting echo "Test"; PHP: , then if test appears on your browser, you will know that the cript has started to execute.
hi matt, thanks for helping me again. I tried but it didnt echoed. I try to upload 60mb but the page expire after 3-4 mins. But when i upload smaller file, i was able to see the echo And i also echo echo "The file ".$target_path. basename( $_FILES['uploadedfile']['name']). " has been uploaded"; if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) { echo "The file ".$target_path. basename( $_FILES['uploadedfile']['name']). " has been uploaded"; } else{ echo "There was an error uploading the file, please try again!"; }
I already installed apache 2 in the windows 2003 server. We already did twice installing apache, but i guess youre right, the apache is going crazy over the windows. A dialogue box prompting at me...i forgot on how to show that again, but i check the event viewer application Faulting application Apache.exe, version 2.0.59.200, faulting module libhttpd.dll, version 2.0.59.200, fault address 0x0001c022.