Tutorials Infos - Anleitungen - Hilfe - Dreamcodes
 

Text Counter

Ein ganz simpler Gesamtcounter ohne IP-Sperre

Script:

<?php
   $datei
= fopen("counter.txt","r+");
   
$counterstand = fgets($datei, 10);
   if(
$counterstand == "") {
      
$counterstand = 0;
   }
   
$counterstand++;
   echo
$counterstand;
   
rewind($datei);
   
fwrite($datei, $counterstand);
   
fclose($datei);
?>

 
ID: 283
eingestellt am: 03.03.2004
Autor: CSN
Status zum lesen: Gast
gelesen: 8066
Webseite: www.dreamcodes.com
[Drucken]