Re: Can PHP code access (as a string) the accumulating output stream?
| From: | Moorhouse-Aires Family | Date: | Thu, 11 Jan 2001 15:09:37 +0000 |
| Subject: | Re: Can PHP code access (as a string) the accumulating output stream? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-43780@lists.php.net to get a copy of this message | ||
Thank you very much, Sean, for your very prompt and helpful response.
I think this output buffer facility (ob_.... functions) is just what I am
after! I have already tested it out in a small way just now.
Mark M.
"Sean R. Bright" wrote in message
<003801c07bd9$9e2e0670$59aa0141@cc230545b>...
>Have a look at Zeev Suraski's article on output buffering over at Zend.com,
>he discusses just this:
>
>http://www.zend.com/zend/art/buffering.php
>
>(Requires a relatively new version of PHP though.)
>
>Sean Bright
>
>> -----Original Message-----
>> From: Moorhouse-Aires Family [mailto:antico@paradise.net.nz]
>> Sent: Thursday, January 11, 2001 9:19 AM
>> To: php-dev@lists.php.net
>> Subject: [PHP-DEV] Can PHP code access (as a string) the accumulating
>> output stream?
>>
>>
>> Hello, PHP gurus.
>>
>> This is a long shot. I am wanting to know if there is a
>> method available
>> from within PHP code, by which I can fetch (in a string) the current
>> contents of the HTML output stream
etc etc