ok got a bit of it working...main part is as follows
if (isset($filename))
{
fwrite($filename, $body);
echo'<p class="formtextred">File has been saved</p>';
include("footer.php");
die;
}
the error i get says file does not exist.. so to that i ask..
how do i create the file if it doesnt exist?
cheers
vamps