Dbase
|
|
|
PHP
|
|
|
*HTML
|
|
|
JavaScript
|
|
|
MySQL
|
|
|
Servers
|
|
|
Website Tools
|
|
|
Networking
|
|
|
Other
|
|
|
|
|
SourceCode for DbaseProgrammers.com
|
PHP
throughput tester. This script will test your connection speed to
a remote site. download
//**************************************
// Author: Jeremy
Martin
// PHP email verify.
//**************************************
<?php
echo "Calculating Download Speed. Please wait..."; ?>
<!--
<?php
$stime=time();
$size=1024;
$var=256;
$out=array();
for ($i=0;$i<=$var;$i++)
{
$out[$i]=str_repeat("#",$size);
}
$j=0;
for ($i=0;$i<=$var;$i++)
{
echo $out[$i];
$tend=time();
$totaltime = ($tend - $stime);
if (round($totaltime) != $t)
{
$t=round($totaltime);
$kbs=$kbx+$size;
$kbx=0;
}else{
$kbx=$kbx+$size;
}
if ($kbs != 0)
{
$kb[$j]=$kbs;
$ff=0;
$j=$j+1;
for ($h=0;$h<=$j;$h++)
{
$ff=$kb[$h]+$ff;
echo ".";
}
$last=($ff/$j/1024);
}
$kbs=0;
}
echo "--> READY ".round($last)." Kb/s \n ".($size*$var)."
bytes Send!<br><!--";
?>
|
|
PHP
OpenSource | Dbase
OpenSource | MySQL
Help | Home
| Contact
|
|
|
|
|
Society News
|
DbaseProgrammers.com
is currently working on a new PHP admin and Dbase
admin for account administration
|
|
|
|
|
|
|