Hi, this is my first post to this site. I need to include relative paths for my php includes and it seems most resolves I've found assume you have control over or even access to the servers config files and root directories. I'm using shared hosting here so those don't work. It seems this is a fairly simple script, though perhaps I'm modeling it after a concept I find simple using my first love, asp. Here's the script anyway, how could I change it to use relative paths? Thanks in advance.
PS I apologize if this had been answered before, I looked and could not find something I could use.
// Pages will be called like this:
// [url]www.jrcii.com/content.php?htype=01§=01&type=01&file=01&ftype=01[/url]
// Header code:
include("headers/" & $htype & ".php");
// Content code:
include("pages/" & $sect & "/" & $type & "/" & $file & ".php");
// Footer code:
include("footers/" & $ftype & ".php");