Php – How to get the download speed using php


I need to get the download speed of the user visiting my site, Is it possible with PHP?
If so, How to do that?.

Please advice..

Thanks in advance.

Best Solution

There is only one good way, which is to ask the user. Try to give meaningful names, so you don't confuse the computer-illiterate too much.

The only other option is to send something sizable to the the user and time how long it takes to arrive, but wasting other peoples bandwidth is rude, particularly if you end up clogging a connection they share with someone.