dirname() public static method
Returns parent directory's path.
This method is similar to dirname() except that it will treat both \ and / as directory separators, independent of the operating system.
See also http://www.php.net/manual/en/function.basename.php.
| public static string dirname ( $path ) | ||
|---|---|---|
| $path | string |
A path string. |
| return | string |
The parent directory's path. |
Please login to continue.