Hello,
I want to be able to reference to any file from any script without having to worry about relative paths (I want to use absolute paths.)
I need a solution which I can use for links AND includes, ie:
<?php
include("$SERVERROOT/content/build.php");
echo "<a href='$SERVERROOT/data/viewdata.php'>View data</a>";
?>
Could somone please provide me with a solution?
Thankyou.