February 6th, 2011, 10:08 AM
Sending PHP variables to a Flash player
Hello to all, and thank you for clicking on this post and taking interest in my dilemma.
I am currently working with a script (dirLIST - PHP Directory Lister Version 0.3.0) that allows me to view the contents of folders and files within certain directories sort of like an FTP client would. Now this script uses a foreach loop to list all of the files in the directory and creates a variable that contains the link to each file in the directory. Once you click on the link, it will take you to the that exact file (ex: www/stuff/the_actual_image.jpg).
Now I want to use that variable and export it to a flash music player. This flash player uses an XML to get the paths of the files and I want to make it so that the PHP variable gets sent to this XML file so when I load up the flash player, it will only play this one song.
Does anyone know how this could be done or if there is another way? Thank you all for your time and I am sorry I have not be clear enough.
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!