take them from the arguments list $argv[]
I know its not what you asked, its just what I answered. -- Chris Lee [EMAIL PROTECTED] "August Zajonc" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Interested in getting a single character at a time on the command line using > php. > > ie, I'd like to type 2 and be able to trap that keystroke right away and act > on it. > > Before spending a lot of time tracking down possibilites (readline > input_buffer, reading the stdin pipe) thought I'd ask if anyone's done this > already and has an elegant way I'm missing. > > Thanks, > > - August > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]