PDA

View Full Version : PHP File System Question


Ian
05-12-2009, 05:46 AM
Hi,

I am in the process of migrating from ASP to PHP and I would like to know if someone can point me in the right direction with a query that I have.

I need to be able to parse a directory that contains images, and add the filenames to an XML file. Is this possible with PHP?

Cheers
Ian]

Ray Borduin
05-12-2009, 08:39 AM
Yes. Look at php.net and you can read about the php xml parser that will allow you to read and manipulate xml in php: http://www.php.net/manual/en/book.xml.php

Justin Nemeth
05-12-2009, 11:15 AM
SimpleXML is another good and easy to use method for working with XML files - http://us2.php.net/simplexml