you can keep a list of the file names and their keys then serve whichever file is specified with ?file=
PHP is The Best Way To go.
for example, this is what i use...
PHP Code:
<?php
$stream[] = array(" "," ");
$stream[] = array("Boxxertrumps Radio","BoxxersStream.m3u");
$stream[] = array("VGAmp","VGampStream.m3u");
$stream[] = array("ReaLife Radio","RLRStream.m3u");
$stream[] = array("102.1 The Edge","1021Kdge.m3u");
$stream[] = array("Cronix Metal","Cronixmetal.m3u");
$stream[] = array("100% Rock","100%rock.m3u");
$stream[] = array("Megarock","Megarock.m3u");
$stream[] = array("Spacial","Spacial.m3u");
$stream[] = array("Real Hardcore","Realhardcore.m3u");
$stream[] = array("Rock 104","rock104.m3u");
$stream[] = array("Rush Radio","rush.m3u");
$stream[] = array("Snakenet Radio","snakenet.m3u");
$stream[] = array("Social Crime","Socialcrime.m3u");
$stream[] = array("Khaha Radio","khaha.m3u");
$pag = $_GET[chan]; ?>
<h2><?php echo $stream[$pag][0]; ?></h2>
<embed src="Streams/<?php echo $stream[$pag][1]; ?>" autostart="false" type="application/x-mplayer2" width="300" height="45" volume="100" showcontrols="1" showstatusbar="0" enablecontextmenu="0" displaysize="0" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/">
</embed>
Bookmarks