<?
if (!isset($_POST["url"])) {
echo "<form method=\\"POST\\">Indtast URL: <input type=\\"text\\" name=\\"url\\"><input type=\\"submit\\" value=\\"Skriv\\"></form>";
} else {
$file = fopen("fil.txt", "w");
fwrite($file, $_POST["url"]);
fclose($file);
echo "Skrevet til fil.";
}
?>
/AC
[Redigeret d. 15/05-04 20:22:42 af AC/F2]