3 $fp = FOpen ("pocitadlo.txt", "r");
4 $pocet = FRead ($fp, 90); //90 znaku dlouhe cislo by melo byt dost
9 if (isset($HTTP_COOKIE_VARS['pricteno'])):
10 echo ("pricteno = " . $HTTP_COOKIE_VARS['pricteno'] . " - Ji\9e Pøièteno - Dal\9aí pøiètení mo\9eno za hodinu od poslednì.<br />");
12 $fp = FOpen ("pocitadlo.txt", "w");
15 setcookie('pricteno', 'true', time()+
3600); //sekundy - 3600 = 1hodina, 1000 000 = 11dni
18 echo ("Navstev: " . $pocet);
This page took 0.35466 seconds and 4 git commands to generate.