php://stdout, ob_xxx and
| From: | Wez Furlong | Date: | Mon, 18 Feb 2002 14:48:03 +0000 |
| Subject: | php://stdout, ob_xxx and | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-80149@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!
--Wez.