![]() |
How to Capture Output from print_output()
I'd very much like to do some post-processing of the output of print_output(), however, it is flushing its output to the connection.
I've attempted to turn on output buffering before my call to print_output, an then catch the output via ob_get_contents(), but the explicit flush() call inside of print_output() is making that method fail. So, is there any other way to capture the output from print_output() into a variable before sending it to the browser? Thanks! Aaron |
Instead of:
PHP Code:
PHP Code:
|
Thanks Lynne,
Unfortunately I need to do processing on the final HTML, and print_output replaces variables that fetch_template does not. |
All times are GMT. The time now is 01:36 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|