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
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
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.