Well I'll post something more simple since my last couple post got no replies
. How could I use PHP to write all files in a folder to an .asx file (a song play list for WMP)?
But the thing is I need it to write every line like this:
code:
<Ref href = "path/filefolder/filename.mp3" />
<Entry>
I'm trying a different way of writing a .asx file (a song play list for WMP) The whole code of the .asx look like this:
code:
<ASX version = "3.0">
<TITLE>Xplode Radio</TITLE>
<Entry>
<Ref href = "../media/Light of the Dark.mp3" />
<Entry>
<Ref href = "../media/Light of the Dark.mp3" />
<Entry>
<Ref href = "../media/Tranced.mp3" />
</Entry>
</ASX>
As you can see I have some songs already in the list but that’s how I need it look inside the .asx
So what i'm trying to do is write all the files in a folder into an .asx file in the format above.
Hope someone can help!