Re: Save output from php - apache to disk?
| From: | Niklas Alberth | Date: | Mon, 09 Oct 2000 14:52:39 +0000 |
| Subject: | Re: Save output from php - apache to disk? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19198@lists.php.net to get a copy of this message | ||
Hi,
Use apaches mod_rewrite to make the url look static, look at www.apache.org for the docs on that.
Then use wget and save all the pages down to disk from the webserver.
----- Original Message -----
From: "Stefan Goethals" <baeb@yournet.be>
To: <php-general@lists.php.net>
Sent: Monday, October 09, 2000 4:40 PM
Subject: [PHP] Save output from php - apache to disk?
>
> Hi
>
> Can anyone tell me how to save the outputted HTML code from a php page?
> I want to make a static site (to put on a CDrom) out of a MySQL backed
> site.
>
> I want to start up a php page that will go through my database and
> create individual pages for all the aricles in there an save them to
> disk as .html file.
>
> How do I do that????
>
> --
>
> Stefan - Zipkid - Goethals
> YourNet - Open source web design & Site management.
> http://www.yournet.be
> mailto:stefan@yournet.be
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>