Running on SME Server 6.0.1-01.
With the script below I am trying to list the content of an ibay other than where the script is placed.
But without any luck!
$dir = "/home/e-smith/files/ibays/music/files";
$dirhandle = opendir($dir);
while (($file = readdir($dirhandle)) !== false) {
echo $file . "<br/>";
}
closedir($dirhandle);
I need a hint on where to change the read permissions for /home/e-smith/files/ibays/music/files so that the above PHP script will work.
Your help is very much appreciated. Thanks in advance.
CNP