Hi!
What about this
text.php:
<FORM ACTION="save.php" METHOD="POST">
<TEXTAREA NAME="html" COLS="40" ROWS="5"></TEXTAREA>
</FORM>
save.php:
<?php
$f = fopen("mynewfile.html", "w");
fwrite($f, $html, strlen($html));
fclose($f);
echo "Saved. ";
?>
If it does not work, then user "nobody" (depends on your webserversettings) does not have writeaccess in the directory where PHP is trying to write the file.
Good luck and take care,
Tom S.