Willkommen ~Gast!
Registrieren || Einloggen || Hilfe/FAQ || Staff
Probleme mit der Registrierung im Forum? Melde dich unter registerEin Bild.
Autor Beitrag
000
24.02.2002, 13:15
CabaL



Quellcode:<html>
<title>Test it</title>
<body>
<?php
$datei = "stand.txt";

$file = fopen($datei, "r");
$stand = fread($file, filesize($datei));
$stand = $stand+1;
fclose($file);

$file = fopen($datei, "w");
fputs($file, $stand);
fclose($file);

echo $stand;
?>
</body>
</html>

diese datei habe ich als counter.php auf meinem webspace gespeichert. dazu habe ich eine datei "stand.txt" gespeichert.
wenn ich nun auf die seite gehe bekomme ich fehler, schauts euch mal am besten an:

counter.php

thx schonmal im voraus

--

..::I've carved my soul to shreds in service of the Cabal. What little humanity I retain is corrupted by the Beast, which has grown stronger with every life I've taken::.

zum Seitenanfang zum Seitenende Profil || Suche
001
24.02.2002, 13:35
Joker



du hast der datei stand.txt keine schreibrechte gegeben (oder so) das ganze hat irgendwas mit CHMOD zu tun....
mit welchem ftpproggi arbeitest du?

beim WS_FTP machst du rechtsklick auf die datei. dann CHMOD... und dann machste einfach mal überall ein häckchen ;)

--

-=[ Aigu.ch ]=-

zum Seitenanfang zum Seitenende Profil || Suche
002
24.02.2002, 14:09
CabaL



cool vielen dank es funzt

--

..::I've carved my soul to shreds in service of the Cabal. What little humanity I retain is corrupted by the Beast, which has grown stronger with every life I've taken::.

zum Seitenanfang zum Seitenende Profil || Suche