grabbing arguments at the command line
| From: | Rory O'Connor | Date: | Tue, 24 Jul 2001 21:03:20 +0000 |
| Subject: | grabbing arguments at the command line | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-59442@lists.php.net to get a copy of this message | ||
I have a commerce program that can send arguments to other programs via
the command line. Perl can grab those with $ARGV[0], $ARGV[1]...and so
forth. As far as I can tell, PHP can't grab these without a shell
script picking them up and explicitly sending them to a PHP script.
is there some other way to grab them without using a wrapper script?
Thanks!
providing the finest in midget technology