Fantastic. Thank you. A much more helpful reply. Think I can sort this now.
--------------- Added [DATE]1217962579[/DATE] at [TIME]1217962579[/TIME] ---------------
Having some trouble. The page I want to show the info on is in the root while my forum is in a folder called /forum/ and I get this error
Warning: main(/home/public_html/includes/init.php) [function.main]: failed to open stream: No such file or directory in /home/public_html/forum/global.php on line 20
I edited global.php to include the right path but that then breaks the forum.
Any thoughts on how to load it with the right base path being used etc?
--------------- Added [DATE]1217965242[/DATE] at [TIME]1217965242[/TIME] ---------------
Ok. Got a little further by using
Code:
// ######################### REQUIRE BACK-END ############################
chdir("./forum");
require_once("./global.php");
require_once("./includes/functions_bigthree.php");
require_once("./includes/functions_forumlist.php");
chdir("../");
But now I get
Fatal error: Call to a member function on a non-object in /home/public_html/forum/includes/functions.php on line 1303
--------------- Added [DATE]1217966241[/DATE] at [TIME]1217966241[/TIME] ---------------
Give up. can't get this to work.