Author Topic: Internet upload speed  (Read 661 times)

0 Members and 1 Guest are viewing this topic.

Offline radha_kTopic starter

  • Irregular
  • Posts: 1
    • View Profile
Internet upload speed
« on: July 31, 2007, 01:25:25 AM »
How to calculate internet upload speed using php?kindly help me with the script.Thanks in Advance.

Offline pyrodude

  • Enthusiast
  • Posts: 97
  • Gender: Male
  • Ever wish you were dead? Me too...
    • View Profile
Re: Internet upload speed
« Reply #1 on: August 05, 2007, 04:44:39 PM »
I don't know the specifics of uploading files through php, but getting at least an average speed should be simple.  At the top of your upload file script (the one that your form posts to) place something to start a timer.  At the bottom of that file, place something that will conclude the timer (when the page is fully loaded).  Then, simply divide the file size by the time it took to upload it.