note 9776 added to Predefined variables
| From: | mike at dbeat dot com | Date: | Wed, 22 Nov 2000 23:30:40 +0000 |
| Subject: | note 9776 added to Predefined variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8013@lists.php.net to get a copy of this message | ||
If you're running PHP as a shell script, and you want to use the argv and argc arrays to get
command-line arguments, make sure you have register_argc_argv = on. If you're using the
'optimized' php.ini, this defaults to off.
http://www.php.net/manual/language.variables.predefined.php