Measure uplink speed using php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
alexd
Forum Newbie
Posts: 7
Joined: Sat May 23, 2009 8:22 am

Measure uplink speed using php

Post by alexd »

Hi Guys,

I want to create a php script that will measure the upload link or speed. I have been thinking about it but can't seem on how to go about it.

If any of us was to build such a solution using php, how would you go about it?

Cheers,
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: Measure uplink speed using php

Post by jayshields »

There's a lot of discussion about upload/download speed measuring on the forum already. Search around. You'll be disappointed to discover it's more difficult than you think.
alexd
Forum Newbie
Posts: 7
Joined: Sat May 23, 2009 8:22 am

Re: Measure uplink speed using php

Post by alexd »

I already did and it seems no one has really put up code for the uplink part. I will like to discuss how to go about it first.

Once that is covered - then we can start writing code
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: Measure uplink speed using php

Post by jayshields »

Just remember that with anything like this that any speed you measure is only the speed of connection that the user has to YOUR server. It does not work as a general speed test.

Start off by looking at upload progress bar scripts. You'll need Javascript as well as PHP.
alexd
Forum Newbie
Posts: 7
Joined: Sat May 23, 2009 8:22 am

Re: Measure uplink speed using php

Post by alexd »

Thanks,

Any pointers would be appreciated. How do you think they did it here

http://www.auditmypc.com/speedtest.asp
caran
Forum Newbie
Posts: 1
Joined: Fri Apr 30, 2010 5:25 am

Re: Measure uplink speed using php

Post by caran »

I was lucky to get here, as im having a lot of trouble with my connection speed. Thats why im asking for your help. I've been having issues for some days now, and every speed test i do, offers different results. I am really lost here. cheers and thanks in advance.
Post Reply