Re: argv/argc

From: Date: Sat, 29 Jan 2000 02:50:46 +0000
Subject: Re: argv/argc
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-15007@lists.php.net to get a copy of this message
>>>>> "Zeev" == Zeev Suraski <zeev@zend.com> 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@jhcloos.com> E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Save Trees: Get E-Gold! <URL:http://jhcloos.com/go?e-gold>

« previous php.dev (#15007) next »