Passing GET vars
Posted: Fri Aug 13, 2004 4:30 pm
Is it possible to pass GET vars into a file compiled in a buffer??
Its like this:
$file is the php file to be compiled
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)
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)