Jump to content

Output buffer between script


Bifter

Recommended Posts

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;
?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.