command line arguments
| From: | Dan Joseph | Date: | Wed, 22 Oct 2003 17:59:34 +0000 |
| Subject: | command line arguments | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-167130@lists.php.net to get a copy of this message | ||
Hi,
I'm having trouble remember something....
I have a php script that I want to run from a command line:
% /usr/local/bin/php script.php 47264
47264 is the argument, however, I can't figure out how to access it inside
the script. I thought it was the $ARG array or $ARGV, but I am mistaken...
can only refresh me? searching did no good.
-Dan Joseph