Re: Reading STDIN from within the program
| From: | Richard Lynch | Date: | Wed, 03 Oct 2001 03:02:49 +0000 |
| Subject: | Re: Reading STDIN from within the program | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69679@lists.php.net to get a copy of this message | ||
http://php.net/fopen
------------------------------------------------------
If filename is one of "php://stdin", "php://stdout",
or "php://stderr", the corresponding stdio stream will
be opened. (This was introduced in PHP 3.0.13; in
earlier versions, a filename such as "/dev/stdin" or
"/dev/fd/0" must be used to access the stdio streams.)
------------------------------------------------------
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Ashish.Natani <ashish.natani@indiatimes.com>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Wednesday, September 26, 2001 1:34 PM
Subject: Reading STDIN from within the program
> Hi,
> I wish to read the message string posted by my form into a php program.
>
> I tried to use the environment variable $HTTP_RAW_POST_DATA but this did
not contain any value.
>
> Can someone help me with reading the STDIN input from within the php
program ?
>
> Thanks and Regards,
> Ashish Natani
> Get Your Private, Free E-mail from Indiatimes at
http://email.indiatimes.com
>
> Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from
http://www.planetm.co.in
>