just to say thanks guys..
and post up the code i used in the end.
i like it when theres is sample code, so i guess i'll lead by example.
..brb....
this is what i used - its not complex, just creates an html file that is updatable from a form on another page...
swin//
<?
//set the page variable
$page = "page.html";
// this bit makes sure theres line breaks in the string thats passed from the form
$content = nl2br($content);
//set the string with the variable passed from the form
$code = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<h2><b><font face="Verdana, Arial, Helvetica, sans-serif">This is the HTML</font></b>
</h2>
<h2> </h2>
<h2>'.$content.'</h2>
<h2> </h2>
<h2>more html....</h2>
</body>
';
// this opens the page and declares what your doing with it (whether the file exists or not)
$fp = fopen("$page", "w");
//this does the creating bit - see the manual form good description
fputs($fp, $code, strlen($code));
//this closes the document reference
fclose($fp);
//this loads the page you just created
header ('location: page.html');
?>