string
GetDirPath(
string path
);
The function returns file directory via path to this file.
Function parameters
Parameter | Description |
path |
Path to file. |
See Also
Examples of use
<?
echo GetDirPath("/temp1/data/file.php");
// prints the "/temp1/data/" string
?>