Re: how do i get argument from command line?
| From: | jeremy brand | Date: | Wed, 22 Nov 2000 13:56:55 +0000 |
| Subject: | Re: how do i get argument from command line? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26734@lists.php.net to get a copy of this message | ||
$argv[0] , $argv[1], etc..
0 is the program name
1 is where the args start
-jeremy brand
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
- - - - - - - - - - - - - - - - - - - - - - - - -
I am pleased to see that we have differences. May we together become
greater than the sum of both of us.
-- Surak of Vulcan, "The Savage Curtain", stardate 5906.4
On Thu, 23 Nov 2000, JeongKook, Seo wrote:
> Date: Thu, 23 Nov 2000 06:56:54 +0900
> From: "JeongKook, Seo" <mmouse@web114.com>
> To: php-general@lists.php.net
> Subject: [PHP] how do i get argument from command line?
>
> help me
> i wanna to know get argument from command line or shell
>
> how do i ?
>
> plz ask me
>