Do you want help as in what to do or do you want to see a sample code?
In any case, do the following:
- If you're on linux/unix, use the command "find" to search for the file
- get the output of the command using exec or system in an array
- run a loop to display each item using code like this:
for ($i = 0; $i < sizeof($array); $i++) {
print "<a href=\"$directory/" . urlencode($array[$i]) . "\">" . $array[$i] . "</a><br>\n";
}
You have to use urlencode when printing the filename inside a href attribute so that the URL is properly encoded and doesn't contain illegal characters.
If you REALLY want a fully functional code, reply to this message and I'll write you one.
good luck!
-sridhar