Play.php
Posted: Sat Mar 21, 2009 5:12 am
Hi everyone i maked a little code that i call my music as an id so when i call my music it plays media player automatic
so i want to play my music a pop up window embeded media player here are what i did.
link code
playmedia.php code
can someone help me the full code
thanks all
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