Using PHP to create XML folder structure
Posted: Sat Nov 15, 2008 8:28 pm
Hi guys,
So I'm not exactly a Noob at this, but I've been away from anything really in depth with PHP for over a year now.
The problem I have is that I have a client who wants to be able to put a folder of images on her server and go to a page where the PHP will have written out an XML syntaxed page. It would be easier for her to just be able to copy and paste from the window, as opposed to me setting up an xml_string function.
I've got something pretty close set up at:
http://www.jmelnick.com/temp/KF/images/HMxml/maphp/
I started w/ dospeixos.net maphp script, and I've gotten it to where it will list out the individual images in the correct style, but not the folder path to get to the images. However, I can easily get the path itself to echo, just having trouble splicing it. Does anybody have any suggestions, or other ways to do this?
Any help would be greatly appreciated.
Thanks,
Jack
So I'm not exactly a Noob at this, but I've been away from anything really in depth with PHP for over a year now.
The problem I have is that I have a client who wants to be able to put a folder of images on her server and go to a page where the PHP will have written out an XML syntaxed page. It would be easier for her to just be able to copy and paste from the window, as opposed to me setting up an xml_string function.
I've got something pretty close set up at:
http://www.jmelnick.com/temp/KF/images/HMxml/maphp/
I started w/ dospeixos.net maphp script, and I've gotten it to where it will list out the individual images in the correct style, but not the folder path to get to the images. However, I can easily get the path itself to echo, just having trouble splicing it. Does anybody have any suggestions, or other ways to do this?
Any help would be greatly appreciated.
Thanks,
Jack