Jump to content

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!!!
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]
  • 3 weeks later...
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.
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.