I would like to know how one can write PHP code to read filenames from a particular folder and save the extracted filenames in an XML document?
An example of any part of this would be HIGHLY appreciated.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Modify the code example found at
readdir()manual a bit, and you’re done! Something like this could work: