< ?php
$data = file_get_contents("textfile.txt"); //obtener la informacion
$fsize = filesize("textfile.txt") / 1024; //determinar el tamaño del archivo en KB: minimo 500k
//Definir el tiempo de comienzo
$start = time();
//enviamos la informacion al usario
echo "";
//definir el momento en que termina la transimicion
$stop = time();
$duracion = $stop - $start; //Calcular diferencia de tiempo
//Dividimos el tamaño del archivo por el numero de segundos que tardo la
transmicion
$speed = round($fsize / $duraccion,2);
//mostramos el resultado en kb
echo "La velocidad de tu red: $speed KB/SEC.";
?>
Referencias:
[1] Php src ftp://concordia.psi.br/pub/linux/apache/bandwidthmeter-0.72.zip
Testers:
[1] www.tracert.org/bandwidth_meter
[2] Telefonica Movistar (Java) 200.121.63.90:8081/myspeed/myspeed_line_appspeed.html
[3] http://www.caezar.net/speedtestnet-medidor-de-ancho-de-banda.html
[4] http://speedtest-netgauge.movistar.cl/
Subscribe to:
Post Comments (Atom)
-
Sunedu Renacyt 1) https://ctivitae.concytec.gob.pe/appDirectorioCTI/ 2) http://regina.concytec.gob.pe 3) https://www.gob.pe/9648-ser-p...
-
Resources: [1] Hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
-
en inglés se llama “A potentially dangerous Request.Form value was detected from the client”. varias páginas indican dos cosas: 1. agrega...
Running apps
Runtastic (I uninstalled because force to update your device - Internet connection problems) Runkeeper (Currently testing) Runna (Complex,...
No comments:
Post a Comment