Possible Duplicate:
scandir fail to open directory
I fixed part of my scandir() problem, but I do not like the arrays. I want it to display the files that are uploaded and give links to them so you would be able to click the images and view them, or click zip files and download them. Problem is I have no idea how to do this.
<?php
$files = scandir('../snaps');
print_r($files);
?>
My scandir so far.
If you give more details it might help, I think this code will help for the links:
This is a function to create the Zip files
And this is the way you can call it: