Re: [PHP-DOC] command line arguments

2001-04-16 Thread Andrei Zmievski
On Sat, 14 Apr 2001, Roel Vanhout wrote: > Hi all, > > I was wondering if it is possible to get command line arguments when > using php as a standalone executable. Something getopt()'ish would be > great, but that's probably too much to ask :-) Check Console/Getopt.php class in PEAR. -Andrei M

Re: [PHP-DOC] command line arguments

2001-04-14 Thread Roel Vanhout
Uhm sorry everybody, my mail_aliases files had some mixed up entries so I send this message to the wrong list... Derick, thanks... cheers, roel On Sat, Apr 14, 2001 at 06:54:41PM +0200, Derick Rethans wrote: > Hello Roel, > > this is the wrong list to ask this, try [EMAIL PROTECTED] for > this

Re: [PHP-DOC] command line arguments

2001-04-14 Thread Derick Rethans
Hello Roel, this is the wrong list to ask this, try [EMAIL PROTECTED] for this. But this should work: $argv[1] $argv[2] and so on. Derick On Sat, 14 Apr 2001, Roel Vanhout wrote: > Hi all, > > I was wondering if it is possible to get command line arguments when > using php as a standalone exec

[PHP-DOC] command line arguments

2001-04-14 Thread Roel Vanhout
Hi all, I was wondering if it is possible to get command line arguments when using php as a standalone executable. Something getopt()'ish would be great, but that's probably too much to ask :-) cheers, roel