tak..nejpomalejsi je takhle cast skriptu:
a ted prubehy tech casu...Kód:$cas0 = gettimeofday(true); // otevreni souboru a nacteni online $path = "http://scripts.xchat.centrum.cz/scripts/online_txt.php?nick=$nick"; $fp = fopen($path, 'r'); $online = fgets($fp,5); fclose($fp); $cas1 = gettimeofday(true); $path = "http://scripts.xchat.centrum.cz/scripts/user.php?nick=".$nick; $fp = fopen($path, 'r'); $j = 0; $i = 0; while (!feof ($fp)) { $temp = "cascyklu".$j; $$temp = gettimeofday(true); $data[$i] = fgetss($fp, 200); $i++; $j++; } fclose($fp); $cas2 = gettimeofday(true);
cas0: 1112374707
cas1: 1112374712
cas2: 1112374717
cascyklu je v jedny vterine, takze nejdelsi je asi ten ping....
zajimavy ze na localhostu to mam rychle.. jedny vterine...
to pomaly je na forpsi.com
takze to asi nebude skriptikem, ale hostingem co??





Odpověď s citací