PHP Folder and Files Discovery Help

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
PerkinsRyan
Forum Newbie
Posts: 1
Joined: Sat Oct 04, 2008 5:30 pm

PHP Folder and Files Discovery Help

Post by PerkinsRyan »

Alright, so what I am trying to do is create a Photo Gallery within Flash and utilize PHP for XML communication. What I want to do is have it so the person who is actually posting the images can just log on to the FTP site, create a Folder that pertains to a certain category, and then place the pictures within that folder. Is there a way to get PHP to read the Folder names and return those names?
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: PHP Folder and Files Discovery Help

Post by jaoudestudios »

Use the php function scandir
Post Reply