Bifter Posted July 16, 2008 Share Posted July 16, 2008 Hi All, Is it possible to carry the output buffer content between scripts and if it is - how? Ta, Quote Link to comment https://forums.phpfreaks.com/topic/115002-output-buffer-between-script/ Share on other sites More sharing options...
trq Posted July 16, 2008 Share Posted July 16, 2008 No, script execution does not persist in any way between requests. Quote Link to comment https://forums.phpfreaks.com/topic/115002-output-buffer-between-script/#findComment-591433 Share on other sites More sharing options...
PFMaBiSmAd Posted July 16, 2008 Share Posted July 16, 2008 Tell us what you are trying to accomplish and someone can provide direction on how to do it. Quote Link to comment https://forums.phpfreaks.com/topic/115002-output-buffer-between-script/#findComment-591555 Share on other sites More sharing options...
MadTechie Posted July 16, 2008 Share Posted July 16, 2008 Unless i am missing something you or missunderstand (happends alot), could try this:~ <?php ob_start(); include "script.php"; $script1 = ob_get_contents(); include "script2.php"; $script2 = ob_get_contents(); ob_end_clean(); //...blar blar //no errors then output echo $script1; echo $script2; ?> Quote Link to comment https://forums.phpfreaks.com/topic/115002-output-buffer-between-script/#findComment-591560 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.