I'm using PHP includes and CSS for my website. Rather then having to change the directory of ever include and CSS location on each page, I would like to only change one line.
How about setting a URI relative to the site root.
Say your root folder is "public_html" as is fairly common. Inside that directory is your main index file, then perhaps other folders etc. Generally, I keep my css in a folder called "css" within "public_html" (at the root).