All pastes #762723 Raw Edit

Ex0r

public text v1 · immutable
·published 2007-11-05 21:23 UTC
rendered paste body
<?php 
session_start(); 

if ($_GET['page'] == "Music") {
	if (!empty($_POST['playlist'])) {
		$getfile = "/dev/musicplcayer/ORC%202/" . $_POST['selectedsong'];
       		echo "<EMBED src=$getfile autostart=true hidden=true loop=true>"; 
       		echo "<textarea>NOW PLAYING:".$_POST['selectsong']."</textarea> <br>";
	} 
       		echo "Select a Song <I>or</I> <A HREF=Index.php?page=Menu>Menu</A><br>"; 
       		echo "<form action=Index.php?page=Music& method=POST>"; 
       		echo "<select name=selectsong>"; 
       		echo "<option value='Donkey_Kong_Country_2_From_Within_OC_ReMix.mp3'>Default - Donkey_Kong_Country_2_From_Within</option><BR>"; 
       		echo "<option value='Beatmania_2DX_7thStyle_Kick_Your_A_OC_ReMix.mp3'>Beatmania_2DX_7thStyle_Kick_Your_A</option><BR>"; 
       		echo "<option value='Donkey_Kong_Country_Chekan_Winter_OC_ReMix.mp3'>Donkey_Kong_Country_Chekan_Winter</option><BR>"; 
       		echo "</select>"; 
		echo "<input type='hidden' name='playlist' value='1'>";
       		echo "<BR><input type=submit value='Play_song'>"; 
       		echo "</form>"; 
} 

?>