Hi,
<?
<------------------------|
$fn = "counter.txt"; |
if (file_exists($fn)) |
{ |
$fp = fopen($fn, "r"); |
$zahl= fgets($fp,10); |
fclose($fp); |
} |
else |
|
$zahl = 0; ---------------
$zahl = $zahl + 1;
echo "<b>$zahl Besucher seit dem 01.07.03";$fp = fopen($fn, "w");
flock($fp,2);
fputs($fp,$zahl);
flock($fp,3);
fclose($fp);
?>
MfG Hopsel
--
"It's amazing I won. I was running against peace, prosperity, and incumbency."
George W. Bush speaking to Swedish Prime Minister unaware a live television camera was still rolling, June 14, 2001
"It's amazing I won. I was running against peace, prosperity, and incumbency."
George W. Bush speaking to Swedish Prime Minister unaware a live television camera was still rolling, June 14, 2001