Jump to content


Photo

Using PHP to create an unordered list of the contents in a folder


  • Please log in to reply
1 reply to this topic

#1 kenyabob

kenyabob
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 21 October 2006 - 07:37 PM

I have a folder on my server that I store a bunch of junk in. You can see it here:

http://howcurio.us/stuff/

Now, I certainly like having a big bin of objects on my server, the only problem is I see the basic styling that the Apache server throws my way when I view the page. My question is this; is there any way I can create an index.php file that will scan all the objects in the folder and put them into an unordered list so that I can style the page using a little CSS, just so I can make the type bigger and a bit more legible? Any help would be great, thanks guys!

#2 jtymes

jtymes
  • New Members
  • Pip
  • Newbie
  • 1 posts
  • LocationKentwood, MI

Posted 21 October 2006 - 10:07 PM

I'm sure you can go through and write your own if you want, but I did a quick Google search and this is what came up:
http://www.evoluted....torylisting.php

Otherwise you can create your own directory listing and apply the styling you want:
http://www.spoono.co...orial.php?id=10






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users