$_get
Posted: Tue Jan 11, 2011 5:52 pm
can someone tell me how to get the download part of this to work
the $file gets the correct information for the embed part but it dosn't work for anything after that is ther something i need to do to get it to display after
the $file gets the correct information for the embed part but it dosn't work for anything after that is ther something i need to do to get it to display after
Code: Select all
<?php
$file = $_GET["listen"];
echo "<embed src=\"../audio/audio_files/$file\" autostart=\"false\" loop=\"false\" height=\"45\" width=\"170\"></embed>";
echo '<br/>';
echo '<a href=/audio/audio_files/$file target="_blank">Download</a> (Right click and save target as)';
?>