PHP upload with progress bar

Posted by Mitchan Adams on Stack Overflow See other posts from Stack Overflow or by Mitchan Adams
Published on 2010-03-19T13:13:57Z Indexed on 2010/03/19 13:21 UTC
Read the original article Hit count: 293

Filed under:
|

Hi all

I want to create an upload form to upload large files. Thats pretty much easy, however, the upload process itself taks long and basically looks like nothing is happening for a few minutes. So now I'd like to insert a progress bar to show the user that something is happening and they should just sit tight. I've read of numerous methods like APC and certian flash plugins, but my site is hosted on a shared server and I cant install any new applications on it.

I'm thinking, maybe if it is possible to read the size of the temp file it creates via an ajax page. By polling the size every few seconds I should be able to get the progress of the upload. Now the question I pose is...where is the temp file situated?

© Stack Overflow or respective owner

Related posts about php

Related posts about fileupload