Processing large files

See all posts See thread Reply

Re: Processing large files new!
by Tim, 18 years, 2 months ago
On a related note, is anyone else getting the annoyng timeout message when using Firefox? Is there a way, on the server side, to prevent Firefox from timing out? (The exact message is "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete")Reply
Re: Processing large files new!
by colin, 18 years, 2 months ago
Tim, the message that you have in Firefox indicates that a client-side script is using too much resources, not a server-side script. If your upload scripts dies, or takes too long, you will have a simple Page not found message in Firefox.Reply
Re: Processing large files new!
by Tim, 18 years, 2 months ago
Well, all I know is that I can upload 1 MB file no problem. But with files that are much bigger, the upload process sometimes takes more than the standard Firefox timeout and causes the message, forcing the user to click Continue. I'm surprised nobody else is seeing this. I know I can change the Firefox settings on my machine, but that won't fix the problem for my users.

Maybe, out of curiosity, I'll check and see if some of the major photo sites cause the same problem during upload.Reply
Re: Processing large files new!
by colin, 18 years, 2 months ago
Please let me know if you discover anything on that matter. It is possible that Firefox displays the message when uploading the image, which I think is not the right behaviour, since the browser is actually working while uploading the image; it is not hanging.

In any case, there's not a lot that we can do here. Using PHP upload forces us to this restrictions, not to mention the maximum upload size limit. If you want to upload really big images, and avoid problems that you described, maybe a Java solution would be more adapted. After all, PHP has its limits... ;)Reply