Using PHP to create an XML file
I found this very interesting post on http://www.gotoandlearnforum.com which explains how to use a PHP script to generate an XML file based on a folder of images. Basically this means you can upload a new image into the folder and when flash goes to find the XML file listing the images it runs the PHP script. This script then looks through that folder and generates the XML that flash needs to see the image. It may sound a little complicated but it means you dont have to update the XML file yourself if you want to add a new image to your site. Instead you just have to upload it to the correct folder on your server. Very handy.
0 comments:
Subscribe to:
Post Comments (Atom)