Re: $argv[] ??
| From: | Jason Wong | Date: | Tue, 19 Mar 2002 09:11:23 +0000 |
| Subject: | Re: $argv[] ?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-89080@lists.php.net to get a copy of this message | ||
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 command line
> parameters ??
I think they're turned off by default.
Look in php.ini for
register_argc_argv = ??
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
Preserve wildlife -- pickle a squirrel today!
*/