<html> <head> <title>PHP Counter</title> </head> <body> <?php $fp=fopen("acc.txt","r"); $count=fgets($fp,1024); fclose($fp); $fw=fopen("acc.txt","w"); $cnovo=$count+1; $countnovo=fputs($fw,$count+1); fclose($fw); echo "<br>Voc� � o visitante n� $cnovo neste site"; ?> </body> </html>