Generating a Static HTML Page from PHP

From: Date: Mon, 19 May 2003 22:51:40 +0000
Subject: Generating a Static HTML Page from PHP
Groups: php.general 
Request: Send a blank email to php-general+get-148224@lists.php.net to get a copy of this message
Is there a PHP function or some way to cause the HTML output from a PHP page to be sent directly to a file instead of the client (browser)? What I would like to do is use a PHP CLI and invoke this PHP script to generate a HTML page that can be served statically by the web server. I have thought about using something like JPCache but this will not do all the things I need. -- Mike Papper

« previous php.general (#148224) next »