hello,
Is there a simple way to take a PHP generated page, then by doing something like:
if ($generate == 1)
Then save the page as a normal HTML page in a specified place?
Any coding examples are appreciated.
Thanks.
look up the functions fwrite(), fopen(), fclose()
just make sure the directory you will save your html file has the proper write privileges... its safer to save these files outside your web directory
Check out PHP's Output Buffering capabilities. http://www.php.net/manual/en/ref.outcontrol.php