Re: Writing static file from dynamic PHP page
| From: | Matthew Weier O'Phinney | Date: | Tue, 18 Jan 2005 19:33:30 +0000 |
| Subject: | Re: Writing static file from dynamic PHP page | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-206690@lists.php.net to get a copy of this message | ||
* Christopher Fulton <christopher.fulton@gmail.com>:
> Just an fyi...this would be VERY easy to get online. PHP keeps an
> archive of all the posts. Here's the link....
>
> http://marc.theaimsgroup.com/?l=php-general
Also, try http://news.php.net/php.general
Though it's not currently searchable -- you can still find all posts.
> On Tue, 18 Jan 2005 09:30:00 -0500, Chris Bruce <chris@idextrus.com> wrote:
> > sorry for the repost, but my mail server was down from about 11pmEST
> > last night to 9:15am this morning and unable to receive responses. Can
> > someone forward me responses to this post if any? Thanks. Chris
> >
> > > > Hi,
> > > >
> > > > I am looking for a way to write to a file what the browser would see
> > > > (raw html) when viewing a dynamic PHP page. I have numerous include
> > > > files, MySQL db queries, loops etc. and I want to generate the static
> > > > result of that file and save it as an html page. I have toyed a little
> > > > with output buffering to no avail.
> > > >
> > > > Is there an easy way to do this?
--
Matthew Weier O'Phinney | mailto:matthew@garden.org
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org