Log in

View Full Version : How to include php files?


s3c
12-23-2009, 07:16 AM
I want to include a php file stats.php into FORUMHOME so it displays on the page, I have tried php includes but it doesn't work. Anybody know how to do this?

Thanks

ChopSuey
12-23-2009, 09:55 AM
There is a stats mod here. Forgot what its called though.

s3c
12-23-2009, 11:09 AM
No this is a php stat script I made for recording defacements http://www.fuxor.org/stats.php which I want included... I have tried to create a Plug-in for global_start with these contents:

ob_start();
include('stats.php');
$includedphp = ob_get_contents();
ob_end_clean();

But when I turn it on my forum displays a blank white page????

thanks

ChopSuey
12-23-2009, 12:09 PM
Your forum is closed not blank

s3c
12-23-2009, 12:15 PM
Your forum is closed not blank

its closed to everybody but admins at the moment... the plugin is turned off now because it dont work if I turn it on all we get is a blank white page!

ChopSuey
12-23-2009, 12:25 PM
Share a link to to product?

s3c
12-23-2009, 12:29 PM
Share a link to to product?

What product? I want to include the stats.php in FORUMHOME, I am here for help because I am new to VB ok

The site is closed to users and will be for a few weeks/months...

--------------- Added 1261593306 at 1261593306 ---------------

Doesn't matter sort of got it to work after playing around... but not the way wanted it to look...