I am looking at a site where I have a virtual directory and sever sub-directories of varying depth. How do I find the root of the virtual directory for includes like css files? Asked another way, what php do I need do to link to the css file in the include directory regardless if im in the root “index.php” file or some random file in a place like “folder01.03.02”?
[font=courier]/ (~virtual root)
|-folder01
|–folder01.01
|–folder01.02
|–folder01.03
|—folder01.03.01
|—folder01.03.02
|-folder02
|-folder03
|-include
index.php[/font]
Thanks in advance :