Re: [PHP] **** Converting dynamic webpages into static HTML pages

2002-11-28 Thread Marek Kilimajer
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).

Re: [PHP] **** Converting dynamic webpages into static HTML pages

2002-11-27 Thread Rick Widmer
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

Re: [PHP] **** Converting dynamic webpages into static HTML pages

2002-11-27 Thread Miles Thompson
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

RE: [PHP] **** Converting dynamic webpages into static HTML pages

2002-11-27 Thread Ron Stagg
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

Re: [PHP] **** Converting dynamic webpages into static HTML pages

2002-11-27 Thread Matt Vos
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

Re: [PHP] **** Converting dynamic webpages into static HTML pages

2002-11-27 Thread Matt Vos
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]);