Jump to content

Archived

This topic is now archived and is closed to further replies.

hey_suburbia

Need to integrate "upload progress bar" into existing script

Recommended Posts

I have been using an open source upload/management script and I wanted to add a progress bar to the upload section (with KB/s too).

I've tried a bunch of ways, but I'm unable to integrate it into my existing script.

Could anyone offer some assistance, whether it be php/ajax/js

My upload script uses three files:
upload.php
upload.tpl
form.tpl

I've included them in a .zip file here: http://www.basicfunction.com/upload.zip

I will be forever grateful, THANKS!!!

Share this post


Link to post
Share on other sites
PHP doesn't give access to the raw POST data, so you're kind of screwed for a straight PHP version.

Here's a PHP/Perl version that seems to work...
[url=http://www.raditha.com/php/progress.php]http://www.raditha.com/php/progress.php[/url]

Share this post


Link to post
Share on other sites
Yes, PHP couldn't obtain access to raw post data. But Perl have such ability. Take a look at XUpload: [url=http://www.sibsoft.net/xupload.html]fist non-AJAX upload progress bar[/url]. Works really good in any environment: PHP, Perl, JSP, etc.

Share this post


Link to post
Share on other sites

×

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.