Hello, How can I get the root directory path of my site to use it later in subdirectories. For example: my domain is "domain.com", I have an image in the directory "domain.com/dir/img.gif" and I want to link to that image from "domain.com/dir1/dir2/dir3/dir4/index.php" so is there any function that can return the path to the root directory "domain.com" so that I can later use something like: <? "function that returns the root path" ?>/dir/img.gif in the file index.php? How can I do that? P.S. I don't want to use full URL (http://...), I need a way to do it with relative paths.