how to use php basename
hi
can someone explain the use of: basename(dirname(__FILE__) I am trying to follow instructions from a book but its not clear. Also: Is it ok for me to ask for direct assistance from some in the forum? I am interested in web dev and I have learnt quit a bit but I am having trouble putting all I've learnt together to create a complete web app. Please let me know, Thanks |
www.php.net
you can look for "basename" in the functions' description Description string basename ( string $path [, string $suffix ] ) Given a string containing a path to a file, this function will return the base name of the file. means: the name of the file without directories... |
All times are GMT -5. The time now is 02:05 AM. |