Re: command line arguments

From: Date: Sat, 14 Apr 2001 18:33:00 +0000
Subject: Re: command line arguments
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969335001@lists.php.net to get a copy of this message
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 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 > --------------------------------------------------------------------- >

« previous php.doc (#969335001) next »