The dirname() file system function in PHP will return the parent folder’s path. This function will accept one parameter which is the path to a folder or file.
Here is the Example
OUTPUT
project/filename/mp3
Category Archives: PHP-dirname()
PHP-dirname()
Posted by
on February 22, 2011
No comments