Yes, I haven't put the code in for the hyperlink yet.
Originally Posted by GStyle
By current directory, I meant the directory, not the full path. I found the code that can get me there:
Now I'm having difficulty getting back to my "root" directory--it's driving me nuts:
// get last directory in current working directory
$thisdir = substr(strrchr(getcwd(), "/"), 1);
if my path is /bar/foo/foo/foo
$dir = opendir(".");
how do I get back to the directory "bar" from wherever I may be? If "." is the current directory path, how do I specify "bar"?