I want the browser to display the url to the individual files.
i.e.
<html>
etc.
<body>
<table>
<tr>
<td>
<a href="$url/$parent/$child[]/$filename[]">File Name</a>
etc.
</td>
</tr>
</table
</body>
</html>
Of course, this being written in html only gives an approximation of what I want it to do. But it should be enough to give you the idea.
$url should contain the url
$parent should contain the parent directory
$child should contain the subdirectory where the files actually reside.
I am assuming that I will need a for loop of some kind so I can walk through the parent directory as well as walk through the child directory.
I am also assuming that this will end up in an array so childname and the filename are not overwritten.
If I was still in a dos environment, I could do probably it in dbase, but am at a loss in PHP.
Does ANYONE have the name of a good print PHP Bible?