right okay all sorted have gone with <OBJECT id='mediaPlayer1' width="300" height="63" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'> <param name='fileName' value="./mp3s/<?php echo $_GET['file']; ?>"> <param name='transparentatStart' value='true'> <param name='autoStart' value="false"> <param name='showControls' value="true"> <param name ="ShowAudioControls"value="true"> <param name="ShowStatusBar" value="true"> <param name='loop' value="false"> <EMBED type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='1' autosize='1' bgcolor='darkblue' showcontrols="true" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="300" height="63" src="./mp3s/<?php echo $_GET['file']; ?>" autostart="true" designtimesp='5311' loop="false"> </EMBED> </OBJECT> and will leave out any symbols from the name!!
it's not about browser, but about server proccessing. As you know, & is exploding different $_GETs and server things you want to explode file= nelly &somemoregets= something Trust me, it has nothing to do with browsers
I am already listening xD I was trying to do internet radio (script) many times but everytime failed... can you give me full source code of player.php?
the way i design it all the div's have the same style, this is how it should be in any design, the only time i have changed the style is when i may not want the sidebar, or another curtain feature
oh you want to remove .mp3 from end? You think in adress? if so so that list should be like this $f = opendir("mp3"); while($mp3 = readdir($f)) { if ($mp3 != "." && $mp3 != "..") { $mp3 = preg_replace("/\.mp3/", "", $mp3); echo "<a href='player.php?file=".$mp3."'>$mp3</a><br />"; } } PHP: and player.php should be like this <OBJECT id='mediaPlayer1' width="180" height="50" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'> <param name='fileName' value="mp3/<?php echo $_GET['file']; ?>.mp3"> <param name='animationatStart' value='true'> <param name='transparentatStart' value='true'> <param name='autoStart' value="false"> <param name='showControls' value="true"> <param name ="ShowAudioControls"value="true"> <param name="ShowStatusBar" value="true"> <param name='loop' value="false"> <EMBED type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' bgcolor='darkblue' showcontrols="true" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="420" height="380" src="mp3/<?php echo $_GET['file']; ?>.mp3" autostart="true" designtimesp='5311' loop="false"> </EMBED> </OBJECT> PHP:
it works xpresscenter.co.uk/radio/od/player.php?file=The%20Black%20Eyed%20Peas%20-%20The%20Time%20%28Dirty%20Bit%29
oh sorry, I got it! $f = opendir("mp3"); while($mp3 = readdir($f)) { if ($mp3 != "." && $mp3 != "..") { $mp3 = preg_replace("/\.mp3/", "", $mp3); echo "<a href='player.php?file=".$mp3."'>$mp3</a>"; } } PHP: this one ! EDIT: I see see it works