Sponsored by Dragon Age: Origins
Can't get enough Dragon Age: Origins? Check out new footage. view!
DragonAge.BioWare.com - EA presents BioWare's new dark fantasy epic Dragon Age: Origins. '9/10' from Game Informer.
50 Comments
- klagg, on 10/12/2007, -0/+13Requires a patched version of PHP. I prefer this one: http://tomas.epineer.se/archives/3
- ipearx, on 10/12/2007, -0/+9Shouldn't the progress meters be done by the web browser?!! They know how big the file is, and can track how much has uploaded. It shouldn't be up to the web app to do this at all! Firefox should show the way...
- appletalk, on 10/12/2007, -0/+5PHP can't access uploaded files unless user has finished uploading, so the solutions you'll find will either use an auxiliary CGI/Perl script or a patched version of PHP.
- fitchmicah, on 10/12/2007, -0/+4Hmm, I get a weird dialog box every time the bar changes saying "[Client_Error] Call in progress." Still cool though.
By the way, I am using Camino, so maybe that's why... - BlueBoiks, on 10/12/2007, -0/+3Doesn't work, tried uploading a 500 MB file and it said completed within 3 seconds. I know my upstream isn't more than 48KB/s, so there is no way it actually uploaded.
I am also not going to digg this, because its really no brainer, Upload with progress bar has been around for quite some time, which all they did was refresh the popup window. Now it just a AJAX version of the same.
Firefox 1.5.0.1. - recklessB, on 10/12/2007, -0/+3I also created a php uploader with an AJAX progress bar. Easy to install and modify. No demo, sorry
http://sourceforge.net/projects/uber-uploader/ - trogdoor, on 10/12/2007, -0/+3I get the same in FF 1.5.1
And does anyone know how to keep FF from warning me that a script is "unresponsive" when uploading a file? (happens especially in google pages) - detrate, on 10/12/2007, -1/+4Ok... so if it's AJAX why is it refreshing? Doesn't that defeat the purpose of AJAX if it's sending requests to apache again?
- KillerJ59J, on 10/12/2007, -0/+3I got that box, also. Firefox v1.5.0.1
- inactive, on 10/12/2007, -4/+6"I'm not digging anything with the words "AJAX" in the title..I'm so sick of it."
That's why I couldn't digg your comment. :) - tarun, on 10/12/2007, -0/+2Actually I meant Java, not JS. I know the difference :)
- inactive, on 10/12/2007, -1/+3I've been looking for a good version of this for Perl for a long time. I've seen a couple "solutions" but nothing really good.
- tarun, on 10/12/2007, -1/+3Cool! I just happen to be working on a project with PHP that involves file uploads and was wondering about the whole progress meter issue. Most of the files my system will receive will be small, but it's still nice to have a prog. bar.
I've heard some people use Java to accomplish this, but that seemed overkill to me. - mck9235, on 10/12/2007, -0/+2Not worth it. Few people have root access, so this is just like something to look at.
Again, it's cool, but I too prefer klaqq's version. - Jams, on 10/12/2007, -0/+1ooh, very cool! Now all I need to do is integrate it into Drupal.
- stenman, on 10/12/2007, -0/+1This other one doesn't seem to require patching php:
http://digg.com/programming/Asynchronous_file_upload_with_AJAX_progress_bar_in_PHP - amprancid, on 10/12/2007, -0/+1Same problem here w/ large files.
- joshduck, on 10/12/2007, -0/+1You're right. With server based solutions you have to make constant requests to the server. This will actually slow the upload.
- joshduck, on 10/12/2007, -0/+1It may be that your browser sent incorrect headers to the server. Or the server limits the size of uploads and rejected your upload, but failed to tell you. Try a 1MB file. The server is slow, so you will still see the progress bar.
Also, PHP hasn't been able to do progress bars in the past because Apache handles the upload and only calls the PHP page once the file is uploaded. - mikeazorin, on 10/12/2007, -1/+2[Client_Error] Call in progress.
Loooks awesome, but would be better without that popping up 10 times. - maseone, on 10/12/2007, -0/+1I'm so sick from putting AJAX on my pancakes this morning...........................
- conigs, on 10/12/2007, -0/+1I'm going to assume you mean javaSCRIPT. In which case, please note the following: AJAX means Asynchronous JavaScript And XML. Note the Javascript part.
If you meant Java. Then I could see how that would be more overkill, since it would have to load an entire applet.
But this is Digg, so again, I'm assuming you meant Javascript. - Cybersqu, on 10/12/2007, -1/+2ditto..
tried uping a 50kb txt file.
seems like its just stuck in a loop. maybe the site is just getting hit to much right now : - anorris, on 10/12/2007, -0/+1I've long wondered why some such thing hasn't been implemented... its simple enough for downloads, right?
- longboarder543, on 10/12/2007, -1/+2I wonder where the upload goes in the demo.
- headzoo, on 10/12/2007, -0/+1Yep, I think your missing something. PEAR's HTML_Progress2 only creates nifty progress bars. Those bars can't show file upload progress. From their FAQ:
*How to include a progress meter in my upload form ?*
Its impossible to do with a pure PHP solution. By the way, there are some mixed solutions that exists on the Web.
In fact, from what I can tell, HTML_Progress2 only creates *dummy* progress bars. I.e. animated graphics that have no tie-in with any process actually taking place. - headzoo, on 10/12/2007, -0/+1"because it has a Listener Class" True that. It's no longer a dummy progress bar. I'll give you that one. However the software being discussed here is an all-in-one package that takes care of everything. All HTML_Progress2 does is provide a progress bar. It's up to you to write everything else.
- scsikool, on 10/12/2007, -0/+1That not true. I'm using it on my applications. It's not a dummy progress bar because it has a Listener Class. With that you can sync it up to any upload, outbound email service and view the actual progress.
- headzoo, on 10/12/2007, -1/+1Well, not really all that exciting if you can't patch PHP, and considering a lot of people around here are using a shared hosting account, the solution is worthless.
- jupo, on 10/12/2007, -1/+1Progress bars have been a sorely missed feature in many web applications for quite a while. These types of widgets are very beneficial.
- bhagany, on 10/12/2007, -2/+2Now that is handy. Thanks.
- stead, on 10/12/2007, -2/+2.... or instead of patching things here and there you could use the sound cross browser solution, Flash.
- engunneer, on 10/12/2007, -2/+2I wonder where all the files go, and I wonder what weird stuff people send in.
- scsikool, on 10/12/2007, -1/+1Unless I'm missing something something, PEAR's HTML_Progress2 does the same thing.
http://www.laurent-laville.org/?mod=pear&des=progress2 - mercnboy3, on 10/12/2007, -2/+2i'm so sick of people saying they are so sick of posts with AJAX in them!
- Kinsbane, on 10/12/2007, -1/+1your uploader is very, very nice. :)
- crossers, on 07/14/2008, -0/+0Good! one more useful product!
http://www.leannrimes.info
http://www.shpe-sac.org
http://www.pmidsig.org - antiver, on 10/12/2007, -0/+0Right. It should be a design element, built straight onto the file path dialog box that the browser displays (ehem, I'm talking to you, Mozilla!)..
should automatically know to render a progress bar once/if the form is submitted. - antiver, on 10/12/2007, -0/+0As far as I know, you're the biased developer of XUpload, according to http://sourceforge.net/users/pilgrimx182/
But thanks again, for your clearly biased opinion. - gahzinia, on 10/12/2007, -0/+0"This code has only been tested on Firefox 1.0.3 if you find any bugs post them on the blog"
Why test on such an old release?
Looks pretty cool though; I might have to take a look how the code works. - kaber, on 10/12/2007, -1/+1old news
- inactive, on 10/12/2007, -1/+0blows up with exceptions on firefox 1.0.7
- trogdoor, on 10/12/2007, -5/+4If you hate it so much wy not just block all stories containing AJAX so you never have to see them and comment on how you aren't going to digg them.
- PilgrimX182, on 10/16/2007, -2/+0As far as I know XUpload Pro (http://sibsoft.net/xupload) is the most advanced and fast Upload Progress Bar at the moment, and no AJAX inside!
DEMO available. - PilgrimX182, on 10/16/2007, -2/+0As far as I know XUpload Pro (http://sibsoft.net/xupload) is the most advanced and fast Upload Progress Bar at the moment, and no AJAX inside!
DEMO available. - remcgregor, on 10/12/2007, -4/+2Stupid slow site. Took me 10 seconds to upload my scanned in tax forms. :-S
- smokebomb, on 10/12/2007, -7/+3This is several months old and was already posted here. NODIGG
- blueigloo, on 10/12/2007, -9/+3agreed.
- SenyorDrew, on 10/12/2007, -10/+1ah, finally. I thought I was the only one getting sick of ipod or ajax headlines.
- cozinator, on 10/12/2007, -16/+4I'm not digging anything with the words "AJAX" in the title..I'm so sick of it.


What is Digg?
Catch all of your favorite Digg shows in one place, including Digg Dialoggs, Diggnation, The Digg Reel and More!