so i want to play my music a pop up window embeded media player here are what i did.
link code
Code: Select all
<b><A HREF="javascript;void(1)"onclick="window.open('playmedia.php?id=1"; ?>','height=300, width=400, adressbar=0, resizable=0, scrollbars=0')">Listen music1</a></b>
Code: Select all
<?
$id = $_GET['id']; //you should only allow numbers
If ($_GET['id']==1){
$file = $map.'music1.mp3'; //this says what the id is
}
include($file ); //includes the document the link asked for.
?>thanks all