Re: QUICK help needed with making static pages from php pages
| From: | Matt McClanahan | Date: | Mon, 04 Dec 2000 01:42:38 +0000 |
| Subject: | Re: QUICK help needed with making static pages from php pages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-28496@lists.php.net to get a copy of this message | ||
On Sun, 3 Dec 2000, Jason Katz-Brown wrote:
> Hi,
>
> I have a document root full of php pages that need to be converted into plain
> html... I have the php4 cgi program running, and the pages simply grab data
> from database, no foo.php?this=that or anything...
>
> So, how do I do this?
>
> Thanks a BUNCH.
You could store the page in an output buffer, and save it.
http://www.php.net/manual/ref.outcontrol.php
Or you could simply save them with wget or lynx.
Matt