![]() |
vBulletin CMS: Programming a PHP Widget
Hello,
sorry my english is bad because im german. I want to make a short widget for my vBulletin CMS. But if i use the include funktion of php the cms site doesnt show something. The cms site stays white. Here is my Code: (Im a php beginner) PHP Code:
attemis PS: On this Script I want to include is one mysql query to a non vbulletin database! |
What does the script index.php do exactly? And is your server set up to run the php or just return the file? If you're trying to include the html output of that script you would need to do something like
Code:
$output = file_get_contents('http://scripts.creeppeace.com/server_widget/index.php'); |
All times are GMT. The time now is 10:41 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:
|