You are here: Re: reading keyboard and interaction with os « PHP Programming Language « IT news, forums, messages
Re: reading keyboard and interaction with os

Posted by Yandos on 11/05/40 11:32

"NC" <nc@iname.com> wrote in news:1132335121.905963.215850
@f14g2000cwb.googlegroups.com:

> Yandos wrote:
>>
>> My question is, if I can read keyboard using php.
>
> If you are running a command-line interpreter, yes; you can read
> keyboard input from standard input stream (STDIN):
>
> $response = trim(fgets(STDIN));
>
> Cheers,
> NC
>
>

That's great, thank you :)

Y.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация