Jump to content


Photo

Need to integrate "upload progress bar" into existing script


  • Please log in to reply
2 replies to this topic

#1 hey_suburbia

hey_suburbia
  • Members
  • PipPipPip
  • Advanced Member
  • 31 posts

Posted 16 August 2006 - 10:10 PM

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.basicfunc....com/upload.zip

I will be forever grateful, THANKS!!!

#2 quasiman

quasiman
  • Members
  • PipPipPip
  • Advanced Member
  • 194 posts
  • LocationPortland, Oregon

Posted 21 August 2006 - 07:00 PM

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...
http://www.raditha.c...hp/progress.php

#3 sibsoft

sibsoft
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 08 September 2006 - 08:44 AM

Yes, PHP couldn't obtain access to raw post data. But Perl have such ability. Take a look at XUpload: fist non-AJAX upload progress bar. Works really good in any environment: PHP, Perl, JSP, etc.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users