scales
04-20-2007, 11:17 PM
I have a PHP file that is included in phpinclude_start.
ob_start();
include_once('featuredcovers.php');
$included_file = ob_get_contents();
ob_end_clean();
However, I need to access the current forum id within my included file (featuredcovers.php). In vB templates, I use $thread[forumid] to print the current forum id. But this variable isn't available in the included file. Is there some way to access this variable somehow?
ob_start();
include_once('featuredcovers.php');
$included_file = ob_get_contents();
ob_end_clean();
However, I need to access the current forum id within my included file (featuredcovers.php). In vB templates, I use $thread[forumid] to print the current forum id. But this variable isn't available in the included file. Is there some way to access this variable somehow?