Re: Writing static file from dynamic PHP page

From: Date: Tue, 18 Jan 2005 03:44:47 +0000
Subject: Re: Writing static file from dynamic PHP page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-206614@lists.php.net to get a copy of this message
On Mon, 2005-01-17 at 21:16, Chris Bruce wrote: > 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? Interesting requirement. I suppose something other than view source from the browser or wget is needed? Bret

« previous php.general (#206614) next »