When my page loads I am trying to include a number of files that contain site-wide settings, functions, and custom classes.
My main code does this:
include ('core/corelib.php');
include_all_PHPFiles('./php'); //Traverses the /PHP dir and Includes all PHP files
session_start();
echo "Username:".$mySQLuser;
One of the php pages sets up all of my global var's, and has the line:
$mySQLuser='foo';
If I echo $mySQLuser from the file itself, it is displayed on the screen (and session_start kicks up a fuss) - if I echo it from my main code it wont display anything. This is the same with all of my vars.
I have done this before, and cant see anything differant about this time, and its driving me nuts.
Any/All help appreciated