Is there a function to find the absolute root path in php?
<p>for example:</p>

<p>/home/mydomain.co.uk/public_html/</p>

<p>Something generic for windows or linux?  Id like it to produce the root path only regardless of where i call the script from.  So not the absolute root path to my script.</p>

<p>Sorry is this is hard to understand.</p>
