php app to test bandwidth speeds ...

James Ryan james at infinityprosports.com
Tue Jan 24 14:19:01 PST 2006


Marc G. Fournier wrote:
> 
> Something like:
> 
>     http://www.testmy.net
> 
> That I can run on my own server(s) ...

Are you wanting to test the bandwidth of clients accessing your web 
site(s)?

If so, what I have done in the past is generate a ~100-500k graphic in 
ImageMagick/Photoshop/GIMP/etc with lots of added colored noise (so it 
cannot be compressed well).  You can either use JavaScript or PHP to 
track the timestamps of when the graphic is first requested and when it 
is downloaded.  So long as you load the image inside a non-visible tag, 
the client won't see it...

Not saying this is the best way, but its the easiest and it has worked 
for me.

Cheers,
James


-- 
James Ryan
Lead Developer, Systems Administrator
Infinity Pro Sports
james at infinityprosports.com
http://www.infinityprosports.com


More information about the freebsd-isp mailing list