Re: argv/argc
| From: | Stanislav Malyshev | Date: | Sat, 29 Jan 2000 13:02:08 +0000 |
| Subject: | Re: argv/argc | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-15018@lists.php.net to get a copy of this message | ||
>> I am not sure I understand that statement. Obviously $argc and $argv are
>> set based on the command line args in the cgi version. Using PHP 3, look:
In fact, what I see in PHP 4 now, is that if QUERY_STRING is not set,
aruments are taken from command line, $argv[0] being name of the
script. If QUERY_STRING is set, command-line argument are ignored
altogether, and $argv is set from QUERY_STRING.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665