Right, I've got a bit of a problem:
I have a conf file which simply defines a few variables to be used by all pages in a site. The file is included in the header of each page of the site and just looks like this:
<?php
$SiteRoot="url goes here";
$cssURI="CSS URI goes here";
?>
and so on.
This is then require_once'd into each page, and is being included through require without error.
the variables are being defined without problem, they contain the right values when I check them from within this conf file.
I need to be able to access the values of each of these variables in pages which require the conf file, but the variables do not seem to have the scope to do this, checking their value in the page which requires them doesn't give any output...
Is there any way that I can use these variable from the requiring pages? The PHP manual suggests the reverse should work, but this doesn't
Any help would be gratly appreciated...
Josh