Re: How to e-mail THIS .php3 page?

From: Date: Tue, 10 Oct 2000 00:13:13 +0000
Subject: Re: How to e-mail THIS .php3 page?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-19265@lists.php.net to get a copy of this message
Stefan Goethals wrote: > Can you 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. the hard way: visit each page on your site, view the page source (outputted HTML, no php), copy it, paste it, save the file. do this hundreds of times. do a search and replace for all .php3 extensions within the site and change them to .html files, and you'll have to use relative directories. > 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. > > How do I do that???? depending on how large your site is, it may just be easier to do the above (hard way)... because writing a program to do this will not be easy, although not out of the question... i believe you'd have to have 500+ pages before this is effective use of your time though. Justin

« previous php.general (#19265) next »