Re: $argv[] ??
| From: | Kancha . | Date: | Tue, 19 Mar 2002 10:30:30 +0000 |
| Subject: | Re: $argv[] ?? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-89088@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 = ??
>
i have turned it on but still doesn't work.
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/