The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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? |
#2
|
||||
|
||||
Nothing works for me as well.
Even not using classes. Although there was a hack from filburt - halfway working. |
#3
|
|||
|
|||
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... |
#4
|
||||
|
||||
Could you, Stryka, just copy +paste the code here?!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|