Re: session_start() || shell access problem......
| From: | Rasmus Lerdorf | Date: | Sun, 21 Sep 2003 13:39:28 +0000 |
| Subject: | Re: session_start() || shell access problem...... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163346@lists.php.net to get a copy of this message | ||
On Sun, 21 Sep 2003, CF High wrote:
> Well, is there a way to pass params to file_to_be_executed in command line?
>
> For example:
>
> <?
> $my_param = 'my_include_path';
> $text =
usr/local/bin/php /path/to/my/php/page.php;
> ?>
>
> Somehow I need $my_param to be passed to page.php (the file to be processed
> in command line).
>
> Any ideas?
Just put them after the filename and grab them out of your $argv array.
-Rasmus