After php has finnished displaying to the screen I would like to save the html page that it creates into a file.
does anyone know the command(s) i would need to do this? another way might be to read the entire contents of an include file (a http address) after it finishes is this possible?
thanks in advance
Anthony Irwin
I used to store the HTML result page in a php variable like :
$html='the html page';
Then I write it into a file:
$file = fopen(' file's name ', 'w'); fwrite ($file,$html); fclose($file);
how do you load a page that is dynamicly created into $html?
thanks
Normally I do like this: echo $html. It will display the HTML page that you had created.