Code: Alles auswählen
..... einzusetzen. Bzw. schon
aber wird dann immer so angezeigt:
[code]<?php
CODE
?>
Code: Alles auswählen
<?php
$datei = fopen("counter.txt", "r+");
$counterstand = fgets($datei, 10);
if($counterstand == "")
{
$counterstand = 0;
}
$counterstand++;
echo $counterstand;
rewind($datei);
fwrite($datei, $counterstand);
fclose($datei);
?>
Ich hoffe ihr habt verstanden was ich meine. BENUTZE SUBSILVER2 !!!