Re: php://stdout, ob_xxx and
| From: | Edin Kadribasic | Date: | Mon, 18 Feb 2002 15:01:47 +0000 |
| Subject: | Re: php://stdout, ob_xxx and | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80150@lists.php.net to get a copy of this message | ||
> Hey,
>
> would it be good to be able to do this:
>
> $fp = fopen("php://output", "w");
> ...
> fwrite($fp, $data);
>
> Where php://output represents the current output buffer.
> This can be implemented as a stream that calls PHPWRITE()
>
> Comments for and against please!
What would be the difference between writing to php://stdout and
php://output?
Edin