Jump to content

PHP Upload timing out in IE


monarlte

Recommended Posts

Hello.

I have a PHP Upload script.  It works in Firefox, but not in IE.  The PHP upload will work in IE if the file is small; however, if the uploaded file is large IE will display a "Internet Explorer cannot display the webpage" that says:

"
  Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.

  What you can try:
    Diagnose Connection Problems 

    More information
"

I set this on the php script:

set_time_limit(86400);

So, I don't understand why IE will not upload the file if the file is larger and takes more time.

I would really appreciate your help.

thanks,
Link to comment
https://forums.phpfreaks.com/topic/34586-php-upload-timing-out-in-ie/
Share on other sites

Thank you mgallforever but the file will still not upload in IE.  IE still gives me the "Internet Explorer cannot display the webpage" message.

My script has both at the top:

ini_set(max_execution_time, 86400);
ini_set(max_input_time , 86400);

Somebody please help me ;)

thanks,
Monarlte
max execution time is not an issue here (unless it takes fkin ages to complete the processing of the script).

The stopwatch on the execution time doesn't start until the files have been uploaded - then the parsing of teh script begins.

max_input_time may be an issue. I was playing the other day and it was taking IE 4 minutes to upload a 3.8M file via http protocols - I have a fairly fat pipe too - so I was surprised! This could all be traffic on the server but FF was consistently faster for some very strange reason.
so, ToonMariner do you have any suggestions?  I doesn't seem to be anything to do with the server and the php.ini config because the FireFox browser does not have an issue and uploads the file.  It is only IE that displas that error page and falls short of uploading the file.  It seems like anything over 2.5 megs or so will cause this problem with IE.  I have the max file size set to 32mb in php.ini and I have the max post size set very high as well.  I tried this with other versions of IE but I still have the same problem.

thank you so much,
monarlte

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.