adam291086 Posted April 2, 2008 Share Posted April 2, 2008 How do you go about opening up a folder and finding all the file names. so i can add photos into the folder and then automatically update the online photo album Quote Link to comment Share on other sites More sharing options...
haku Posted April 3, 2008 Share Posted April 3, 2008 There may be a way to do this in Javascript (I dont know one way or another), but a method I use on a site Ive designed is to have php index the image details in an XML file, then use javascript (AJAX of SJAX) access the file and get the necessary details out of the file. So at the start of my php script, I have php create the xml file, then later down I have php output the javascript that is sent to the browser that then accesses that XML file. Quote Link to comment Share on other sites More sharing options...
AndyB Posted April 3, 2008 Share Posted April 3, 2008 glob() - http://ca.php.net/manual/en/function.glob.php Quote Link to comment Share on other sites More sharing options...
haku Posted April 3, 2008 Share Posted April 3, 2008 Heh, this being in javascript I was trying to explain it in javascript terms. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.