Re: PHP console (php.exe -a)
| From: | Libor Jelinek | Date: | Sun, 27 Dec 2009 15:50:52 +0000 |
| Subject: | Re: PHP console (php.exe -a) | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29773@lists.php.net to get a copy of this message | ||
Hello Sascha,
yes, running "php -a" should await input from STDIN but it should
means keyboard. And I don't know how to end STDIN input from keyboard
(how to tell to php.exe "execute what I typed").
I am typing typing but I don't know how to force php to execute what I
typed on keyboard :-(
Thanks!
Libor
2009/12/27 Sascha Meyer <harlequin2@gmx.de>:
> Hi Libor,
>
> Libor wrote:
>> Hi all,
>> I don't know if I am stupid or what but I can't find out how to send
>> typed code to execute.
>
> I never worked with php as an interactive console application but as far as I can see on the
> php.net homepage [1], the -a switch is used to call a script which then takes direct user input from
> the console via STDIN stream instead of working with predefined variable values.
>
> Regards, Sascha
>
> [1] http://de.php.net/manual/en/features.commandline.php
> --
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>