RE: [PHP] I want to get the input of keyboard

2001-06-30 Thread scott [gts]

php://stdin
php://stdout
php://stderr

are also for console input/output...

 -Original Message-
 From: Richard Lynch [mailto:[EMAIL PROTECTED]]
 Subject: Re: [PHP] I want to get the input of keyboard
 
 $file = fopen('php://input', 'r');
 $char = fread($file, 1);
 


-- 
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]




Re: [PHP] I want to get the input of keyboard

2001-06-26 Thread Hugh Bothwell

little boy [EMAIL PROTECTED] wrote in message
9h90pi$3ag$[EMAIL PROTECTED]">news:9h90pi$3ag$[EMAIL PROTECTED]...
 hi,all
 I want to  get the  input of keyboard from php files,but i can't know how
to
 do.

 Who can tell me any advace about that?
 Thx.

If you're running PHP as a server-side web scripting language, you can
forget it.  What you have to do is write an HTML form and process the
returned data.  If you need more interaction than that, look at JavaScript
or Flash/ActionScript.



-- 
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]




Re: [PHP] I want to get the input of keyboard

2001-06-26 Thread elias

?
  $fp = fopen(con, rt);
  $buf= fread($fp, 9);
  fclose($fp);
  echo result=$buf;
?
something like that


little boy [EMAIL PROTECTED] wrote in message
9h90pi$3ag$[EMAIL PROTECTED]">news:9h90pi$3ag$[EMAIL PROTECTED]...
 hi,all
 I want to  get the  input of keyboard from php files,but i can't know how
to
 do.

 Who can tell me any advace about that?
 Thx.



 --
 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]




-- 
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]