Re: [PHP-DEV] argv/argc From: James H. Cloos Jr. (cloos <email protected>)
Date: 01/28/00

>>>>> "Zeev" == Zeev Suraski <zeev <email protected>> writes:

Unknown> http://www.php.net/?blah

Zeev> I still don't get it, bare with me :) What's special about that
Zeev> URL? Is it that blah isn't assigned a value? It's still usable as
Zeev> an empty (but set) variable without the need of argc/argv, isn't it?

That doesn't help. How do you what the query string is if it is just any
old random empty variable in the current execution scope?

*Something* has to be assigned the value 'blah' in the above case. $argv[0]
is the current variable assigned 'blah'. Whatever gets assigned 'blah' must
be an array in the case of a query string such as 'foo&bar'....

Cf my sig for an example of such as URL. (DirectoryIndex index.php3 is set.)

-JimC

-- 
James H. Cloos, Jr.  <URL:http://jhcloos.com/public_key> 1024D/ED7DAEA6 
<cloos <email protected>>  E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
        Save Trees:  Get E-Gold! <URL:http://jhcloos.com/go?e-gold>

-- 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>