command line parameters
| From: | Arnout van der Kamp | Date: | Wed, 07 Nov 2001 16:17:19 +0000 |
| Subject: | command line parameters | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-10267@lists.php.net to get a copy of this message | ||
How do you set command line parameters with PHP for windows?
My script is called monkey.php and I want to set $banana to some value
php monkey.php?banana=1
does not work. PHP does not execute and just returns
php monkey.php banana=1
does not work either. Then the value banana is not set.
how do I fix this?
--
Later
Arnout http://www.supras.nl
"Life is too short to drive an opel"