Also, with resect to the single dot and double dot method of addressing a file:
This syntax is a left-over from the days of DOS Operating System where a single dot meant "this directory" and the double dot meant "file's Parent Directory", so good programming practice would use the single dot syntax for a file in the Current directory ( include './filename.ext' ) and double dot syntax for the Parent directory ( include '../filename.ext' ) You can travel to several levels of Parent Directories by adding sets of double dots, too. ( include '../../../../filename.ext' ) would go back 4 levels.
Similarly, a slash without the dots is used to indicate the path to the file starts at the Server Root. ( include '/filename.ext' )
http://www.hardcoder.com/scripting/php/include_files.php



