Re: Reading STDIN on POST queries?
| From: | Brian Clark | Date: | Fri, 05 Jan 2001 21:52:36 +0000 |
| Subject: | Re: Reading STDIN on POST queries? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32955@lists.php.net to get a copy of this message | ||
Hello Jeff,
(JP == "Jeff P") jeffp-php@outofservice.com writes:
JP> Is there a way to read STDIN directly (ie, without
JP> having PHP 4.0.4 parsing it for encoded
JP> variable/value pairs) in a cgi-based install of
JP> PHP?
This is probably what you want?
`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.)'
-Brian