[thelist] php - save all output of a php-page to a file

Rich Gray richardgray at onetel.co.uk
Thu Oct 3 07:34:01 CDT 2002


Peter
I've not tried this but can you run your dynamic scripts using php from the
command line and just redirect your output to text files?
JAT
Rich

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Peter Duchateau
Sent: 03 October 2002 09:22
To: List Evolt
Subject: [thelist] php - save all output of a php-page to a file


Hello,

I have a site with a few dynamic pages.
Now the client wants his site on a CD.
So I want to generate static pages for all dynamic pages.

I would like to call newsletter.php?id=1 and save the output in
newsletter_1.php
the latter being a static html file.

Any suggestions ?

Peter

--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !




More information about the thelist mailing list