php3-list | 199908
Date: 08/31/99
- Next message: TV Karthick Kumar: "Re: [PHP3] newbie running pws"
- Previous message: Chris Cosentino: "[PHP3] Exporting a Dynamic PHP site to a static html site?"
- Maybe in reply to: Chris Cosentino: "[PHP3] Exporting a Dynamic PHP site to a static html site?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 31 Aug 1999 22:21:40 -0400, Chris Cosentino wrote:
>What's out there in the terms of tool/automated processes that will allow me
>to take my dynamic site (i.e. all the links are hooks into the database) and
>publish it to a static version? i.e. all the mysql queries are run and all
>the possibilities are exported to HTML?
Depends on the design.
If you've got your site setup to allow it, you could just run a web mirroring
program such as wget over it and use the saved HTML. You'll want to set your
site up so that instead of having a structure like /page.php?DBID=321 it has
something like /db/321.html where none of the HTML files really exist but are
intercepted by a script.
It's more work to setup but the other alternative is writing a little export
program that generates a page per row in your database. This is handy if you
want to automate the export process so you have dynamic content but lower
load on the server.
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: TV Karthick Kumar: "Re: [PHP3] newbie running pws"
- Previous message: Chris Cosentino: "[PHP3] Exporting a Dynamic PHP site to a static html site?"
- Maybe in reply to: Chris Cosentino: "[PHP3] Exporting a Dynamic PHP site to a static html site?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

