I wrote a script and part of it tries to open a directory. The problem is I can't get it to work with a string.
$dl=opendir("/my/path");
OR
$path="/my/path";
$dl=opendir($path);
doesn't work for me
but if I do
$path= getcwd();
$dl=opendir($path);
it works, which would be okay, but I need to get to other directories.
Any ideas?