Hi
Is there a function to tell the current directory? I modified some code i found here to do so, so if not, not a big deal. thanks chuck
function currentDirectory()
{ $cwd = getcwd();
$directories = explode("/",$cwd);
$dirCount = count($directories);
return "/" . $directories[$dirCount - 1];
}
echo currentDirectory();