Apache-style directory?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
wsjb78
Forum Newbie
Posts: 4
Joined: Sun Jun 22, 2003 5:52 pm
Contact:

Apache-style directory?

Post by wsjb78 »

Hiya,

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

Thx,

wsjb78
qartis
Forum Contributor
Posts: 271
Joined: Sat Dec 14, 2002 4:43 pm
Location: BC, Canada
Contact:

Post 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.
wsjb78
Forum Newbie
Posts: 4
Joined: Sun Jun 22, 2003 5:52 pm
Contact:

Post 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...
Post Reply