I'm working on a small CMS system, and (embarrassingly) the problem right now is:
How do I make it so I can access a file in the main script directory from a directory within the main script directory file.
In effect:
To access a file in a directory within the current directory, you just write something like
CODE
<a href="directory/whatever.php">
, and you don't have to write out anything before that, no matter where the file is. No C:/Program Files/whatever. How do you do that in reverse? From a subdirectory into a directory?