Random song generator
Posted: Sun Nov 07, 2004 5:45 pm
I have a script that will randomly pick a song file from the selected folder: http://www.jameslena.com/blog/songrotate/songrotate.php And I have a embed tag with the .php as the file being played. So the php gets the file, and the embed plays the file that it gets from the php. This is set up at http://www.jameslena.com/blog all the way at the bottom.
I want to know how to get it to to display the file name in text under the player. I don't know PHP at all so I don't know how to code it how I want. I think u could write a line that has it extract the $file from the other php script. Something like /folder/random.php get file=$file, but in PHP.
Any help?
I want to know how to get it to to display the file name in text under the player. I don't know PHP at all so I don't know how to code it how I want. I think u could write a line that has it extract the $file from the other php script. Something like /folder/random.php get file=$file, but in PHP.
Any help?