The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Include other PHP files in Blocks
how can iclude other php files in forum block ?
PHP Code:
|
#2
|
|||
|
|||
Well, you *could* try this (I removed one set of quotes):
Code:
$my_output = include('http://example.com/file.php'); return $my_output; |
#3
|
||||
|
||||
you can't include a file into a variable like that, AFAIK. You probably could, if you would then use eval(), which won't work in the block either.
The OP either needs to rewrite the code in the input file to adapt it to the needs of the block environment OR he could try something like this: PHP Code:
|
Благодарность от: | ||
kh99 |
#4
|
|||
|
|||
You're right of course. I think you could if it were returning a string, but that's probably not the case. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|