![]() |
Include other PHP files in Blocks
how can iclude other php files in forum block ?
PHP Code:
|
Well, you *could* try this (I removed one set of quotes):
Code:
$my_output = include('http://example.com/file.php'); |
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:
|
Quote:
You're right of course. I think you could if it were returning a string, but that's probably not the case. |
All times are GMT. The time now is 07:31 AM. |
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:
|