Running php from shell - passing parameters
| From: | Bostjan Marusic | Date: | Sun, 17 Feb 2002 22:59:35 +0000 |
| Subject: | Running php from shell - passing parameters | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-85125@lists.php.net to get a copy of this message | ||
I have to run php script from Linux shell.
I have no trouble except with passing the parameters.
What is the right sintax to pass them to the script?
I would like to do something like this:
/usr/local/bin/php ./test.php param=value
Best Regards,
Bostjan Marusic