Jump to content

[SOLVED] upload with some progress info


felipeebs

Recommended Posts

Hi,

I'm needing some PHP upload script that works with AJAX to show some info to the user.

 

I want somethng that shows:

 

average% at average spees Kb/s (uploaded Kbytes or Mbytes / total Kbytes or Mbytes)

 

a working (and not open) example I've found in http://www.virustotal.com/

 

Hope someone can help me.

Link to comment
https://forums.phpfreaks.com/topic/68723-solved-upload-with-some-progress-info/
Share on other sites

What is your problem? That wasn't a joke. Did you even take a look at the hits in that search?! The results in that search appear to be right in line with what you are asking for: i.e. an AJAX enabled uploader with a progress indicator.

 

They may not include the functionality to show kb/sec, but that would be simple to add since the script would need to computer %complete and all the other needed variables would be available to you: (%complete * total byte size * 8) / (start_time - current_time)

 

What are you expecting? For someone to come over to your house and write it for you?

I always question why people use status bars on web based uploads.  You are using bandwidth to tell someone how much bandwidth they are using.  A paradox that makes no sense.  If you are uploading files >5mb then maybe a http based system might not be right for your system.  Otherwise anything <5mb will upload so fast that a status bar will be pointless, unless you have dial-down, but who has that still?

Archived

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

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