PHP Folder and Files Discovery Help
Moderator: General Moderators
-
PerkinsRyan
- Forum Newbie
- Posts: 1
- Joined: Sat Oct 04, 2008 5:30 pm
PHP Folder and Files Discovery Help
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?
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: PHP Folder and Files Discovery Help
Use the php function scandir