Reply to Re: How to scan the user-entered value ?

Your name:

Reply:


Posted by Lars Eighner on 11/05/07 10:45

In our last episode, <1194255284.204523.27570@i38g2000prf.googlegroups.com>,
the lovely and talented dgs broadcast on comp.lang.php:

> How to scan the user-entered value ?

> like, we have "scanf()" in 'C'.......

You can fscanf(STDIN) or fgets(STDIN) in the CLI. See chapter 43 "Using PHP
from the Command Line" in the manual. There may be more stuff you can do
with the curses functions, but they are poorly (i.e. not at all) documented.

Of course you cannot detect browser events except via GET or POST (in one
form or another) --- which I mention just in case you have no idea what PHP
is or how HTTP works.

--
Lars Eighner <http://larseighner.com/> <http://myspace.com/larseighner>
Countdown: 442 days to go.
What do you do when you're debranded?

[Back to original 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

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