adamr1001 Posted July 31, 2007 Share Posted July 31, 2007 Can you translate this pseudo code for me? ..thanks in advance from a total freakin' newbie. 1. I'd like a PHP file that when called, returns a list - in plain text format - of the filenames inside its own directory. 2. 1. I'd like a PHP file that when called, returns a list - in xml format (shown below) - of the filenames inside its own directory. <folder> <file> <filename>filename1.jpg</filename> </file> </folder> Thanks, I'm just trying to learn a few things and got stuck. Quote Link to comment https://forums.phpfreaks.com/topic/62600-beginner-needs-some-basic-help/ Share on other sites More sharing options...
Devine Posted July 31, 2007 Share Posted July 31, 2007 http://ca.php.net/manual/en/function.readdir.php Quote Link to comment https://forums.phpfreaks.com/topic/62600-beginner-needs-some-basic-help/#findComment-311600 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.