original xml (xspf) file, even saved and used as a txt file works:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="0" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<location>http://www.site.com/song.mp3</location>
</track>
</trackList>
</playlist>
got changed to this on your suggestion (i think):
Code:
<? include("protection.php"); ?>
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="0" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<location><? echo fileprotect("song.mp3",100); ?></location>
</track>
</trackList>
</playlist>
it got saved as a php file. the html to call up the embedded swf player calls to the php file to get the playlist information for the player, but as is typed, it does not work.
if we can get this to work, a lot of people would like to use your product for this alone.
the player i am using for this is the
XSPF player.
tell me this will work, andreas