[thelist] php - save all output of a php-page to a file
Sean Brown
sbrown at xacting.com
Thu Oct 3 10:55:01 CDT 2002
On 10/3/02 4:21 AM, "Peter Duchateau" <peter at duo.be> wrote:
> 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 ?
If you have access to a *nix box, you can run wget on the site, it will
crawl all the links on your site and save a copy of each page to a local
file system.
WGET(1) GNU Wget WGET(1)
NAME
wget - GNU Wget Manual
SYNOPSIS
wget [option]... [URL]...
DESCRIPTION
GNU Wget is a free utility for non-interactive download of
files from the Web. It supports HTTP, HTTPS, and FTP pro-
tocols, as well as retrieval through HTTP proxies.
Sean
{
# sbrown at xacting.com
}
More information about the thelist
mailing list