splitPath() splitPath( dir) : mixed||string|int Split a file path into array elements Parameters dir Returns mixed||string|int —
getDir() getDir( prefix, encoded, html, up) : Get the current directory. Parameters prefix Include the prefix ("./") encoded URL-encode the string html HTML-encode the string up No. levels to go up Returns — directory n-levels up