36541
10-10-06, 10:58 AM
How do i make this asx file randomize through php, because i dont think asx files have randomization tag.
<ASX VERSION="3.0">
<TITLE>title</TITLE>
<ABSTRACT></ABSTRACT>
<MoreInfo href = "" />
<Entry>
<Title>1</Title>
<Ref href="http://1.mp3" />
<Banner href="http://logo.jpg" />
</Entry>
<Entry>
<Title>2</Title>
<Ref href="http://2.mp3" />
<Banner href="http://logo.jpg" />
</Entry>
</ASX>
The code should be run from a script that outputs xml-type data, example: index.php on a folder called "playlist.asx" so when i go to example http://127.0.0.1/playlist.asx i need to make the server treat the code as asx when it's done parsing, any help pls?
<ASX VERSION="3.0">
<TITLE>title</TITLE>
<ABSTRACT></ABSTRACT>
<MoreInfo href = "" />
<Entry>
<Title>1</Title>
<Ref href="http://1.mp3" />
<Banner href="http://logo.jpg" />
</Entry>
<Entry>
<Title>2</Title>
<Ref href="http://2.mp3" />
<Banner href="http://logo.jpg" />
</Entry>
</ASX>
The code should be run from a script that outputs xml-type data, example: index.php on a folder called "playlist.asx" so when i go to example http://127.0.0.1/playlist.asx i need to make the server treat the code as asx when it's done parsing, any help pls?