Re: [PHP4BETA] php and standard input
| From: | Andrei Zmievski | Date: | Fri, 10 Mar 2000 20:55:11 +0000 |
| Subject: | Re: [PHP4BETA] php and standard input | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11888@lists.php.net to get a copy of this message | ||
On Fri, 10 Mar 2000, milan@centrum.cz wrote:
> Hi!
>
> I don't really know if i can get data from standard input
> with php (cgi) ? for example if i want to use php script
> in pipes... is it possible ?
$fp = fopen("php://stdin", "r");
-Andrei
* If it ain't broken, it doesn't have enough features yet. *