Re: How to give parameters to a console php-script?
| From: | Kevin Lowe | Date: | Mon, 02 Dec 2002 16:01:40 +0000 |
| Subject: | Re: How to give parameters to a console php-script? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126722@lists.php.net to get a copy of this message | ||
Hi,
I want to do the same under unix:-
> php myscript.php4 myparameter
but the PHP CGI supplied by my ISP has register_argc_argv switched off. Is
there any other way to access command line parameters when
register_argc_argv is off?
Thanks,
Kevin