Jump to content

Uploading with Progress bar


mjahkoh

Recommended Posts

Also, google will probably tell you this, but just to save you some time, it's not possible with PHP.  (Well, I suppose it could be done with PHP, but it wouldn't be worth the trouble.)

 

PHP scripts are not run until the entire client header is sent, meaning the PHP script isn't run until the entire upload has been uploaded.

 

I've heard Perl can do it though.

 

 

 

Anyway, the basic concept will be:

 

User starts upload.

Make an AJAX request to an upload status page, which will return a percentage, like 50 if it's 50% done.

Format the response onto a status bar or something.

I haven't tried this one out but as so far it seems to be the nicest one i have found and i am planning to use this one. it does however use some flash but this is probably just a minor thing

 

http://digitarald.de/project/fancyupload/2-0/showcase/photoqueue/

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.