Page 1 of 1

Finding all Logic/Output between function calls

Posted: Wed Jul 26, 2006 8:05 pm
by LiveFree
Hey All,

Is there any way to capture all output between 2 function function calls?

For example the script would get the // text:

Code: Select all

OpenContentPane();
//
CloseContentPane();
The reason for this being so the CloseContentPane can get all the output and send it to Smarty for compiling.

Thanks!

Posted: Wed Jul 26, 2006 8:12 pm
by John Cartwright
search output buffering

Posted: Wed Jul 26, 2006 8:19 pm
by LiveFree
brain_fart();

Thanks JCart~