Documentation

GetDirPath

string
GetDirPath(
 string path
);

The function returns file directory via path to this file.

Function parameters

ParameterDescription
path Path to file.

See Also

Examples of use

<?
echo GetDirPath("/temp1/data/file.php");
// prints the "/temp1/data/" string
?>


© «Bitrix24», 2001-2024
Up