I tried loading the names of the files in the Books directory, with the following code:
<?php
if ($handle = opendir('/Books')) {
echo "Directory handle: $handle
";
echo "Entries:
";
while (false !== ($entry = readdir($handle))) {
echo "$entry
";
}
closedir($handle);
}
?>
But it seems not to display the names. Am I doing this wrong or not locating the right directory?