Joseph Witchard
03-11-2010, 10:53 PM
Is their a $_SERVER variable that returns the path just above your document root? I'm thinking about putting my include files outside of my root folder, but I want to avoid going up (../) a directory each time I need a file. I checked PHP's $_SERVER documentation, but if there is a superglobal to accomplish this, I didn't realize what they were saying.