create a XML file of list of files in a directory

Recommended Posts

Hi,How to generate a XML of a list of files inside a directory. My directory contains picture files(.jpg). I am trying to make photo album in flash where i could use XML but I don't want to write the XML code for all the files in a folder.I heard php could be helpful in generating XML. Please help me!Thanks.