kall
01-15-2005, 07:24 AM
Ok, so I have something that needs to be called in my php include start template.
The instructions say to use: require_once("./includes/the_file_to_be_included.php");
That won't work on any page outside the /forums/ directory/subdomain, correct?
My answer was to use:
require_once("http://forums.nzboards.com/includes/the_file_to_be_included.php");
Does/will that cause problems at all?
The same question applies to include("./include/the_file_to_be_included.php"");
include("http://forums.nzboards.com/includes/the_file_to_be_included.php");
The instructions say to use: require_once("./includes/the_file_to_be_included.php");
That won't work on any page outside the /forums/ directory/subdomain, correct?
My answer was to use:
require_once("http://forums.nzboards.com/includes/the_file_to_be_included.php");
Does/will that cause problems at all?
The same question applies to include("./include/the_file_to_be_included.php"");
include("http://forums.nzboards.com/includes/the_file_to_be_included.php");