The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
call a include() within eval()...
UPDATED to include more details...
Is it possible to perform a include() in a .php file within an eval statement so all i have to do is refer it to the variable from eval() and the result appears? Seems simple enough I have a random gallery php file that i want to include in my custom NON-VB homepage that uses VB variables etc... i should've prefaced this and said i am totally a newbie on this... juss looking at structure and seeing what might work... this php file creates 3 random pics... not just one variable... or result... see attached... here's part of my index file... eval("\$index_intro = \"".gettemplate('index_intro ')."\";"); eval("dooutput(\"".gettemplate('imix_index')."\"); "); I want the results of the php file to appear within imix_index.. somehow... or within index_intro... any suggestions... |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|