Is there a function to find the absolute root path in php?

sabbatical!

New Member
for example:/home/mydomain.co.uk/public_html/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.Sorry is this is hard to understand.
 
Back
Top