RE: [Nolug] In case you wanted to know how big 2 to the 3,000, 000is...

From: Christoph Boget <jcboget_at_yahoo.com>
Date: Thu, 1 Jul 2004 07:31:25 -0700 (PDT)
Message-ID: <20040701143125.54099.qmail@web13604.mail.yahoo.com>

--- Petri Laihonen <pietu@weblizards.net> wrote:
> >> Thanks.
> >> Can that be run from the CLI, or must it be embedded in a web
> >> page?
> >
> > It can be run from the CLI if you add, on the first line,
> >
> > #/usr/local/bin/php -q
> >
> > (or wherever your php binary is installed). The "-q" is the 'quiet'
> > argument.
> >
>
> I don't use that first line thingy.
> So far php from CLI has been working as expected.
>
> ......err
> Correction.
> If I run php scripts with HTML stuff in them, then yes, I use the quiet
> method, which also can be provided as a parameter in CLI.

Whether you use the "-q" option is, indeed, a matter of preference. Just
as is using the first line thingy. But I use that first line thingy so
I can run my script simply by doing

% script_name.php

as opposed to

% /path/to/php script_name.php

Christoph

                
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
___________________
Nolug mailing list
nolug@nolug.org
Received on 07/01/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST