string GetDirPath( string path )
The function GetDirPath returns a parent directory of the specified file given the file path.
Parameter | Description |
---|---|
path | File path. |
<? echo GetDirPath("/temp1/data/file.php"); // prints the string "/temp1/data/" ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |