Re: [PHP-DEV] argv/argc From: Stanislav Malyshev (stas <email protected>)
Date: 01/29/00

>> 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 <email protected>          
+972-3-6139665

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>