Re: PHP 4.2.0 and $argc/$argv
| From: | Philip Olson | Date: | Fri, 03 May 2002 00:22:43 +0000 |
| Subject: | Re: PHP 4.2.0 and $argc/$argv | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95801@lists.php.net to get a copy of this message | ||
See the register_globals directive. If it
is on, $argv will be created. Otherwise it
will not. And as we all now know, PHP 4.2.0
defaults register_globals = off.
Consider using $_SERVER['argv'] instead.
regards,
Philip Olson
On Fri, 3 May 2002, Andre wrote:
>
> Is there something special you've to do to get $argc and $argv in PHP 4.2.0?
> In php.ini, register_argc_argv is set to On. Is there some other
> configuration variable that I should look at?
>
> Thanks.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>