hallööchen,
also ich habe ein script gefunden:
PHP
<?php
$file = "pics.php";
echo "<form action=\"$PHP_SELF\" method=\"POST\">";
echo "<textarea name=\"text\" cols=\"50\" rows=\"5\">";
readfile($file);
echo "</textarea>
";
echo "<input type=\"submit\" name=\"gesendet\" value=\"speichern\">";
echo "</form>
";
if ($gesendet)
{
$datei_speichern = fopen($file, "w");
fwrite ($datei_speichern, $_POST['text']);
fclose($datei_speichern);
echo "Änderung erfolgreich";
}
?>
Alles anzeigen
bloß irgendwie speichert es nicht!?
Was habe ich das falsch gemacht??