|  | 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?
  Navigation: [Reply to this message] |