Function strip_root
Removes the DOCUMENT_ROOT
from the provided path.
Note: Because this function is usually used to create URL path from server path, the directory separator '\' is replaced by '/'.
Parameters summary
string |
$pathname |
Return value summary
string
|