Directory Detector - 11/19/2001 12:32 AM
okie dokie, I have a problem. I'm making a CGI script that detects all the folders in the given directory. This is what I've come up with so far.
Input
Output
not only do I get files AND folders but I get . and ..
I need something that will just read the folders and output their name and a link to them as simple html. What am I doing wrong here?
Input
Code
code:
Output
Code
code:
not only do I get files AND folders but I get . and ..
I need something that will just read the folders and output their name and a link to them as simple html. What am I doing wrong here?