Looking at your code, if you're just trying to include an external page to pull layout elements (like what I have here) you can simply use a PHP include like:
Code
<?php include($_SERVER["DOCUMENT_ROOT"] ."/includes/header.forum.inc.php"); ?>

If I'm reading your code correctly you might be trying to include one header for two sites which may belong to different users on the machine, which could have any number of problems (such as permissions on the server); I'd advise you keep any includes local to every user, versus attempting to use only one file for various user accounts.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!