Finding all Logic/Output between function calls

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
LiveFree
Forum Contributor
Posts: 258
Joined: Tue Dec 06, 2005 5:34 pm
Location: W-Town

Finding all Logic/Output between function calls

Post 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!
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

search output buffering
LiveFree
Forum Contributor
Posts: 258
Joined: Tue Dec 06, 2005 5:34 pm
Location: W-Town

Post by LiveFree »

brain_fart();

Thanks JCart~
Post Reply