Posted by P Pulkkinen on 02/08/07 09:44
"Mitesh" <oopsbabies@hotmail.com> kirjoitti
viestissδ:1170926634.468367.313320@a34g2000cwb.googlegroups.com...
>I have an HTML page with references to PHP variables. This HTML is
> included from another PHP page. How can I save the HTML page
> dynamically i.e. when all the PHP variables are written into the HTML
> page.
Do You mean that you want to "store" the whole html-output of your script
into another file?
Use output buffering:
http://www.php.net/manual/en/ref.outcontrol.php
Buffer everything, then copy the whole buffer to a file and then send actual
page(buffer content) to client.
Navigation:
[Reply to this message]
|