Page 1 of 1

Is there a way to measure bandwidth with php?

Posted: Sat Mar 01, 2008 5:54 am
by markusn00b
Title is pretty self-explanatory..

I've had a good ol google, to no avail.

Anybody done something like this?

Re: Is there a way to measure bandwidth with php?

Posted: Sat Mar 01, 2008 6:00 am
by Kieran Huggins
by "measure bandwidth" do you mean how fast a user's connection is? Like a speed test?

You could stream a fixed amount of data to the host and time how long it takes.

Re: Is there a way to measure bandwidth with php?

Posted: Sat Mar 01, 2008 6:22 am
by markusn00b
Sorry.
I mean track how much bandwidth a visitor uses when they come to my site.