In HTML, I can find a file starting from the web server\'s root folder by beginning the filepath with "/". Like:
/images/some_image
I don't know if this is the best way, but it has worked for me.
$root = $_SERVER['DOCUMENT_ROOT']; include($root."/path/to/file.php");