Zitat Zitat
Original geschrieben von Latency
PHP-Code:
<?php
//path to the count.txt count storage file
$counter_file "counter/count.txt";
//open the file for reading$i++)
.
.
.
//the <img src> tag
$imgsrc SubStr($counter,$i ,1);
echo 
'<a href="http://www.notathing.com/downloads.php" target="_blank"><img src="counter/images/' $imgsrc '.gif" border = "0"></a>';
}
?>
So sollte der Code eigentlich stimmen. Jedoch weiß ich nicht warum du <http://rpgxp.de/counter/images> mitten im Code stehen hast
Okay...da blicke ich auch nicht durch und als ich den Code kopiert habe, die alte counter.php ersetzt habe und nach domain.de hingefügt hatte, und gestartet hatte kam auch gleich ein Fehler...
Kannst du nicht einfach meinen Code editieren?
Btw. Ist doch egal ob ich den vollen Pfad schreibe also http://rpgxp.de blablabla oder einfach /counter/images.
Kommt aufs gleiche raus...oder?


Bermuda