Re: stdin streams
| From: | Teodor Cimpoesu | Date: | Fri, 29 Sep 2000 09:12:49 +0000 |
| Subject: | Re: stdin streams | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18024@lists.php.net to get a copy of this message | ||
Hi Rodino,!
On Thu, 28 Sep 2000, Rodino, Justin Bain wrote:
> Does anyone know how to get variables passed in a command line PHP script?
> For example if I run:
>
> /usr/bin/php /path/to/php/file.php var1 var2 varx
you have them in $argv array.
-- teodor