header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
?>
Resultados del test
$b=$_GET['bytes'];
$t1=$_GET['horaIni'];
$t2=$_GET['horaFin'];
$kbrate = (int)($b/($t2-$t1));
?>
|
echo ((int)(((int)$kbrate)/100))/10; ?> | KiBytes |
|
echo ((int)(((int)$kbrate*8)/100))/10; ?> | Kibits |
$kbrate2 = (int)($kbrate / 1024 / 1.5);
if ($kbrate2<0)
$kbrate2=0;
else if ($kbrate2>760)
$kbrate2=760;
?>
echo ((int)(((int)$kbrate*8)/100))/10 ; ?> Kibits
Repetir...