I am try to make my php script access files from another partition on my harddrive but it does not
seem to work, i have tried the include_path but when i use that the screen goes white and thats all
that happens. I don't get any errors. My script displays thumbnail images.
This is the path i want to use /Files/Catalogue/thumbs/$name
Files is the where the partition is mounted, Catalogue is the directory where the images and thumbs
are stored.
Here is my script
$images = "thumbs/$name/";
$files = scandir($images);
unset($files[0], $files[1]);
$rows = array_chunk($files, 6);
foreach ($rows as $row){
foreach ($row as $image){
echo '<a href="gallery/', $name, '/', $image, '"><img src="thumbs/', $name, '/',$image,'"/>'</a>';
}
}
?>
This script as it is, works when the images are in www/htdocs/ etc