Php sayaç kodu
12
●4.860
- 22-09-2005, 14:07:30Misafir<?
$reg = fopen("sayac.txt", "r");
$line = fgets($reg,100);
fclose($reg);
$reg = fopen("sayac.txt", "w");
$count = $line+1;
fputs($reg,$count,100);
echo "Ziyaretçi: $count";
fclose($reg);
?>
sayac.txt dosyasinin CHMOD'unu 777 yapmalisin. kollay gele
