![]() |
PHP include with variables
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? |
Nothing works for me as well.
Even not using classes. Although there was a hack from filburt - halfway working. |
what are you trying to get working?
Cuz I have other includes with PHP Apps working with no problem... its just this one that's giving me probs... |
Could you, Stryka, just copy +paste the code here?!
|
All times are GMT. The time now is 08:17 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|