also look into output buffering. so you would then do these steps 1. start buffer 2. redirect all output to varaible $output 3. echo Static HTML code (from opening to closing <html> tags) 4. when completly done all output, the variable $output should have all the html code 5. then using filesystem functions (fopen, etc...) dump variable into that newly created file and then you are done.
If you have questions just post onto the list, but check the filesystem methods and the output buffering methods (ob_start, ob_flush, etc...). Bobby "Dougd" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I would like to create a new page on the fly - basically having the PHP file > to export content into a new static HTML file and save it as content.php. > > Make sense? > > Appreciate your help and insights. > > -Doug > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php