This is the input.html file:
<form action="generate_html_paragraph.php" method="post">
<textarea name="newParagraph"></textarea>
<input type="submit" name="submit">
</form>
And this is the generate_html_paragraph.php file:
<?php
$fp = fopen ("new.html", "w");
fputs ($fp, "<body>\n");
fputs ($fp, "$newParagraph\n");
fputs ($fp, "</body>\n");
fclose ($fp);
?>
The link is http://birme.jpl.nu/~bluecorr/carmen/input.html
What am I doing wrong???