Upload progress bar?
Moderator: General Moderators
Upload progress bar?
How do you make a script read the progress of an upload... Here's an example at http://www.rapidshare.de/
When you upload a file, it says how much of the file has been uploaded...
How do I do this?
When you upload a file, it says how much of the file has been uploaded...
How do I do this?
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
There is a patch somewhere for PHP that you can use to add this capability to PHP -- but you must compile PHP yourself. I don't know if the patch is still supported.
Otherwise the usual way is to use a Perl CGI script. You can find these around and there are several packaged solutions for PHP that do this.
Otherwise the usual way is to use a Perl CGI script. You can find these around and there are several packaged solutions for PHP that do this.
(#10850)
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
-
travist349
- Forum Newbie
- Posts: 3
- Joined: Fri Sep 08, 2006 3:16 pm
I have done this... Here is what I suggest.
I have implemented an upload progress bar for my site.
I used the TesUpload by Thomas Epineer. It works great!
It uses a colaboration of PHP, Pearl, and AJAX to create a progress bar that will update without a page reload.
Let me know if you have any more questions.
I used the TesUpload by Thomas Epineer. It works great!
It uses a colaboration of PHP, Pearl, and AJAX to create a progress bar that will update without a page reload.
Let me know if you have any more questions.
Thanks Travis,
I gave the TesUpload a try and also another script but the name of MegaUpload. When I do an upload for both scripts, it doesn't display the file I uploaded but a bunch of letters and numbers in the tmp directory. E.g: 3dsa78asd78329
How do I get it to upload the actual file? I'm looking at the uploads through an FTP.
I gave the TesUpload a try and also another script but the name of MegaUpload. When I do an upload for both scripts, it doesn't display the file I uploaded but a bunch of letters and numbers in the tmp directory. E.g: 3dsa78asd78329
How do I get it to upload the actual file? I'm looking at the uploads through an FTP.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Don't think so,... I foudn a better one anyway... It isn't in PHP but in Perl and would be easy to integrate anyway... The free version does the job.
http://www.sibsoft.net/xupload.html
http://www.sibsoft.net/xupload.html