This basic script is in a folder off of the root called campaigns. The sponsorLookup.php is a file on the root. The print statement for SponsorFirstName is failing while the fakeSponsor print statement works fine. The only difference between the two included files is that one is on the root and the other is in the campaigns folder. When you want to reference a file that is up one level, you put a / in front of it, right? I've even tried using the full path (http://www.example.com/sponsorLookup.php) and that doesn't work either.

Thanks!


PHP Code:
<?php
include 'startSession.php';
$_SESSION[sponsorID] = 121;

include 
'/sponsorLookup.php';
include 
'fakeSponsor.php';

print (
"<p>SponsorFirstName is $_SESSION[sponsorFirstName]</p>");
print (
"<p>fakeSponsor is $fakeSponsor");

?>