>>>>> "Richard" == Richard McLean <vorple@stripped> writes:
Richard> I have a site which is using MySQL & PHP to dynamically insert database
Richard> information into pages and was wondering if anyone knows of a solution
Richard> available for generating static files with the information instead.
My reading of the question suggests the following answer:
Use wget (ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/wget.tar.gz) to
take a copy of your site. Then simply put this copy in the place of
the current site. Something like the following will do what I think
you're trying to achieve.
Suppose the site is http://www.site.com/ABC and that you have the
documents stored under /usr/local/www/ABC on your machine. Then do
$ cd /usr/local/www
$ wget -r -N http://www.site.com/ABC
$ mv ABC ABC.orig
$ ln -s www.site.com/ABC
The link in the last line might be wrong. Anyway, the idea is to use
wget to recursively get the complete site, then put it in place of the
directory with the PHP3 files.