Re: PHP console (php.exe -a)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>:
> 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
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux