jasne, ale ja se snazim o vsepristupne stranky, html + css validni, a co nejvetsi kompatibilitu, takze javascript neni zrovna idealni. ano, takovy skript mam a funguje. ale chtel bych pouzit radeji neco v php, hlavne proto, ze chci pote take s vyslednymi promenymi dale pracovat, porovnavat nejvyssi dosazene vysledky, jak pro vsechny uzivatele, tak taky kazdeho uzivatele osobni rekordy a ukladat je treba do souboru, nebo databaze..

tyhle rychlosti testy jsou na netu v js, asp i php..

<script type="text/javascript">
time=new Date();
start=time.getTime();
</script>
<comment>
..
presne 100000(minus <comment> a </comment>) ruznych znaku
..
</comment>
<script type="text/javascript">
time=new Date();
end=time.getTime();
diff=0;
if (end>start) {diff=(end-start)/1000;}
speed=100/diff;
kbps=(Math.round((speed*8)*10))/10;
point=(718/1088);
width=(kbps*point);
if (width>718) {width=718};
kb=kbps/8;
kb=(Math.round(kb*10)/10);
kbps=(Math.round(kbps*10)/10);
document.write('<div class="title">Rychlost připojení</div>');
document.write('<table cellspacing="0" cellpadding="0" border="0" width="',width,'" height="12">');
document.write('<tr>');
document.write('<td width="',width,'" height="12" bgcolor="#667F89"></td>');
document.write('</tr>');
document.write('</table>');
document.write('[img]bg1.gif[/img]
');
document.write('Rychlost připojení: ',kbps,' kb/s
');
document.write('Rychlost stahování: ',kb,' KB/s
');
</script>