Page 1 of 1

PHP Folder and Files Discovery Help

Posted: Sat Oct 04, 2008 5:36 pm
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?

Re: PHP Folder and Files Discovery Help

Posted: Sat Oct 04, 2008 6:50 pm
by jaoudestudios
Use the php function scandir