What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Listing File in Folder

Listing File in Folder
Author: Message:
DJeX
Veteran Member
*****

Avatar


Posts: 1138
Reputation: 11
– / Male / –
Joined: Jul 2003
O.P. Listing File in Folder
Well I'll post something more simple since my last couple post got no replies :S. 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!
[Image: top.gif]
05-25-2004 11:29 PM
Profile PM Web Find Quote Report
DJeX
Veteran Member
*****

Avatar


Posts: 1138
Reputation: 11
– / Male / –
Joined: Jul 2003
O.P. RE: Listing File in Folder
So no one can help?.......... poo  lol :dodgy:
[Image: top.gif]
05-27-2004 11:39 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On