Re: [PHP] $argv[] ??

2002-03-19 Thread Kancha .
>> On Tuesday 19 March 2002 16:18, Kancha . wrote: > > I'm using php 4.1.0. In earlier versions of php i > > could access parameters passed throught command > line > > as $argv[1], $argv[2] and so on. With the version > that > > i'm usign now it says undefined variable. > > > > What is the new me

Re: [PHP] $argv[] ??

2002-03-19 Thread Jason Wong
On Tuesday 19 March 2002 16:18, Kancha . wrote: > I'm using php 4.1.0. In earlier versions of php i > could access parameters passed throught command line > as $argv[1], $argv[2] and so on. With the version that > i'm usign now it says undefined variable. > > What is the new method of accessign co

[PHP] $argv[] ??

2002-03-19 Thread Kancha .
I'm using php 4.1.0. In earlier versions of php i could access parameters passed throught command line as $argv[1], $argv[2] and so on. With the version that i'm usign now it says undefined variable. What is the new method of accessign command line parameters ?? _

RE: [PHP] argv and argc

2002-02-19 Thread Martin Towell
IF it is deprecated in 4.1.0, then what are we meant to use in place of it? Martin -Original Message- From: Darren Gamble [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 9:04 AM To: 'Chris Boget'; PHP General Subject: RE: [PHP] argv and argc Good day, The a

Re: [PHP] argv and argc

2002-02-19 Thread Chris Boget
> look in the manual under predefined variables: > language.variables.predefined.html Sorry, I should have specified for a function, not a script. I found those vars, just couldn't find the same for a function. Just found it, though: func_num_args(); func_get_arg(); :) Chris -- PHP General

RE: [PHP] argv and argc

2002-02-19 Thread Darren Gamble
enue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 3:00 PM To: PHP General Subject: [PHP] argv and argc The other day, I was reading the docs and I just happened across something that em

RE: [PHP] argv and argc

2002-02-19 Thread Hunter, Ray
]] Sent: Tuesday, February 19, 2002 3:00 PM To: PHP General Subject: [PHP] argv and argc The other day, I was reading the docs and I just happened across something that emulated argc and argv. However, I just spent 2 hours in the docs and can't find it. Is there something in PHP that you ca

RE: [PHP] argv and argc

2002-02-19 Thread Rick Emery
look in the manual under predefined variables: language.variables.predefined.html -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 4:00 PM To: PHP General Subject: [PHP] argv and argc The other day, I was reading the docs and I just

[PHP] argv and argc

2002-02-19 Thread Chris Boget
The other day, I was reading the docs and I just happened across something that emulated argc and argv. However, I just spent 2 hours in the docs and can't find it. Is there something in PHP that you can use to get this info? thnx, Chris -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] argv

2001-11-23 Thread Andrey Hristov
ion http://www.icygen.com BALANCED SOLUTIONS - Original Message - From: "PACKER, Steffan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 23, 2001 7:02 PM Subject: [PHP] argv > the $argv is meant to contain all the arguments sent to the script. I

[PHP] argv

2001-11-23 Thread PACKER, Steffan
the $argv is meant to contain all the arguments sent to the script. I need to get access to these but when I try to access them I can't! if I just use echo($argv) the only output is 'Array' All I am expecting to find for the purpose of my script is a five letter code, not a name/value pair. Can