monarlte Posted January 17, 2007 Share Posted January 17, 2007 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, Quote Link to comment Share on other sites More sharing options...
marcus Posted January 17, 2007 Share Posted January 17, 2007 [code=php:0]ini_set(max_execution_time,20000);[/code] Quote Link to comment Share on other sites More sharing options...
monarlte Posted January 18, 2007 Author Share Posted January 18, 2007 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 Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted January 18, 2007 Share Posted January 18, 2007 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. Quote Link to comment Share on other sites More sharing options...
monarlte Posted January 18, 2007 Author Share Posted January 18, 2007 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.