you can also try:

$bandwidth=WMIQuery("CurrentBandwidth","Win32_PerfRawData_Tcpip_NetworkInterface")
_________________________
How to ask questions the smart way <-----------> Before you ask