Re: command line arguments
| From: | Derick Rethans | Date: | Sat, 14 Apr 2001 16:54:41 +0000 |
| Subject: | Re: command line arguments | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969334998@lists.php.net to get a copy of this message | ||
Hello Roel,
this is the wrong list to ask this, try php-general@lists.php.net 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 executable. Something getopt()'ish would be
> great, but that's probably too much to ask :-)
>
> cheers,
>
> roel
>
Derick Rethans
---------------------------------------------------------------------
PHP: Scripting the Web - www.php.net - derick@php.net
SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------