tona Posted September 5, 2009 Share Posted September 5, 2009 I have just installed a test server on my mac, I created an HTML page, now I would like to write a php code to look in a particular folder on the site and create an XML file with the content of that folder. The problem is: I do not know PHP, I just started learning about arrays , and I have no clue how to approach this. I am not using a database, just a folder on in the same folder where the index.html file is. Is there a function to look in a folder and return the contents, or do i need to write one myself? PLEASE HELP. THANKS A MILLION Link to comment https://forums.phpfreaks.com/topic/173193-total-newbie-needs-major-help/ Share on other sites More sharing options...
Garethp Posted September 5, 2009 Share Posted September 5, 2009 http://www.w3schools.com/PHP/func_directory_dir.asp Link to comment https://forums.phpfreaks.com/topic/173193-total-newbie-needs-major-help/#findComment-912965 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.