Its like this:
Code: Select all
ob_start();
include $file;
$buffer = ob_get_contents();
ob_end_clean();The problem is that $file does not see GET vars of the page it is being compiled in (that is, on the page where the code I mentioned before, runs)