how do you create dynamic xml with PHP?

yahoo

New member
I'm working on a PHP project which communicates with a flash music player. The Flash music player retrieves its Looong URL (file name) from an xml document. The database has a massive list of songs and i can generate an xml file for every song, but i wanted to generate it dynamically so the server always generates an xml file only for the requested song/s. This is my flash vars:

so.addVariable('playlistfile','http://www.mywebsite.com/playlist.xml');

But i want the server generate the "playlist.xml" evertime its called according to the clients needs.
 
Back
Top