stryka
05-25-2003, 02:04 AM
I have an APP that requires the following to work:
<?php
include("./local/local.php");
$myCF = new CF;
$myCF->start();
?>
I edit the PHPINCLUDE template successfully put it does not show a result within the output... but if I change the path it gives me an error... so I am assuming that it finds the file but needs the $myCF variables....
ob_start();
include("./local/local.php");
$backpages = ob_get_contents();
ob_end_clean();
The question is... where do i put the $myCF variables? Can it go in the $PHPINCLUDE template as well?
<?php
include("./local/local.php");
$myCF = new CF;
$myCF->start();
?>
I edit the PHPINCLUDE template successfully put it does not show a result within the output... but if I change the path it gives me an error... so I am assuming that it finds the file but needs the $myCF variables....
ob_start();
include("./local/local.php");
$backpages = ob_get_contents();
ob_end_clean();
The question is... where do i put the $myCF variables? Can it go in the $PHPINCLUDE template as well?