chury721
Linux
• Windows
• OS X
• MikroTik • Programming
• Networking
• Hardware
• Car diagnostics
Blog
Car service
Meteo
Meteo
Speedtest
Steam
Email
function pocetNavstev (){ if(file_exists("pocet.txt")){ print ""; }else{ $file=fopen("pocet.txt","a"); fputs($file,"0"); fclose($file); } $soubor="pocet.txt"; $file=fopen("$soubor","r+"); $pocet=fgets($file,100); $pocet++; fseek($file,0); fputs($file,$pocet); fclose($file); echo $pocet; } ?>