Re: Help with php output to file
| From: | Luke | Date: | Thu, 18 Dec 2003 21:11:01 +0000 |
| Subject: | Re: Help with php output to file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172972@lists.php.net to get a copy of this message | ||
what about output buffering and saving the output to a file instead of
flushing to the screen, that would work easy :)
Luke
--
Luke
"Paul Godard" <Paul@gondwanastudio.com> wrote in message
news:p06010211bc079d784124@[192.168.1.202]...
> Hi
>
> I have develop an online catalog in php/mysql. Now the client needs
> the web site on a cd. Of course without php or mysql...
>
> What is the fastes and easiest way to convert the only 2-3 dynamic
> php pages into static html files?
>
> Of course I could copy the html code generated by the php pages for
> each product and save it as different product1.html product2.html ...
> but that will take ages ... 2000 products in 2 languages.
>
> Is there a way to redirect the output of php pages to a file instead
> of to the screen? So I could create a simple php script that loop
> for each product & languages to generate all the pages.
> --
>
> Kind regards, Paul.
>
> Gondwana
> Info@gondwanastudio.com
> http://www.gondwanastudio.com