Easy and intuitive are all the programs that allow you to download the
whole website
http://download.com.com/3150-2071-0.html?tag=dir
Ron Stagg wrote:
I have an interesting challenge. I have built an online product catalog
that is driven entirely by the contents of the product database (MySQL).
When running PHP as a static binary, how does it handle text (HTML code)
that falls outsize of the tags. Is the text ignored or
outputted?
Outputted. This can be very handy. One thing I use it for is customizing
configuration files where only a small percentage of the overall text needs
g.php');
All code will be executed as if it were part of the script.
Matt
- Original Message -
From: Ron Stagg <[EMAIL PROTECTED]>
To: Matt Vos <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 2:49 PM
Subject: RE: [PHP] Converting dynamic webpages into static HTML pages
PM
To: Ron Stagg
Subject: RE: [PHP] Converting dynamic webpages into static HTML
pages
While this does involve the creation of a second script - it's only a
small
change:
do an Ob_start at the beginning of the script ...
Then use ob_get_contents to output to a file at the end ...
Tw
Matt Vos <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 2:49 PM
Subject: RE: [PHP] **** Converting dynamic webpages into static HTML pages
I like your direction.
When running PHP as a static binary, how does it handle text (HTML code)
that falls outsize of the tags. Is the
Compile php as a static binary (CGI execution mode?) and add something liek
the following to your code at the top:
#!/usr/local/bin/php
$arg_count = 1;
while ($arg_count < count($argv))
{
$argument = $argv[$arg_count];
$arg_split = split("=",$argument);
$variable = trim($arg_split[0]);
6 matches
Mail list logo