Page 1 of 1

Apache-style directory?

Posted: Sat Jul 12, 2003 6:24 am
by wsjb78
Hiya,

has anyone ever done an apache-like directory listing with PHP where you can exclude certain files?

Thx,

wsjb78

Posted: Sat Jul 12, 2003 6:32 am
by qartis
If you're looking for a pre-made script with images and the whole shebang, I remember seeing a few at hotscripts.com (select PHP from the pulldown, and search for "directory index")

If you're willing to write your own, the little snippets at http://www.php.net/dir should be basically all you need, though we're always here if you're having trouble.

Posted: Sat Jul 12, 2003 7:29 am
by wsjb78
Well, I would like one that exactely looks like an apache generated directory listing but I want to take some files out of the listing... I want that people think they see the whole content and hence protect a few files...