Date: 04/14/01
- Next message: Jim Winstead: "[PHP-DOC] cvs: phpdoc /en/functions pdf.xml"
- Previous message: Roel Vanhout: "[PHP-DOC] command line arguments"
- In reply to: Roel Vanhout: "[PHP-DOC] command line arguments"
- Next in thread: Roel Vanhout: "Re: [PHP-DOC] command line arguments"
- Reply: Roel Vanhout: "Re: [PHP-DOC] command line arguments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Roel,
this is the wrong list to ask this, try php-general <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 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 <email protected>
SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------
- Next message: Jim Winstead: "[PHP-DOC] cvs: phpdoc /en/functions pdf.xml"
- Previous message: Roel Vanhout: "[PHP-DOC] command line arguments"
- In reply to: Roel Vanhout: "[PHP-DOC] command line arguments"
- Next in thread: Roel Vanhout: "Re: [PHP-DOC] command line arguments"
- Reply: Roel Vanhout: "Re: [PHP-DOC] command line arguments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

