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

Hassan Schroeder hassan at webtuitive.com
Thu Oct 3 08:50:01 CDT 2002


Peter Duchateau wrote:

> 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 ?

Use 'wget'; easiest way to dump a single page or a whole site.

   <http://www.gnu.org/software/wget/wget.html>

(Included with Cygwin, BTW, if you're running Windows)

HTH!
--
H*
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

     -- creating dynamic Web sites and applications since 1994 --






More information about the thelist mailing list