p_midtlyng 0 Newbie Poster

Hello-

I need modify this code so that I can have multiple audio segments on one page, with accompanying text and play button.

Any help would be much appreciated.

P.

<?php

$filename=$_GET;
$starttime=$_GET;
$endtime=$_GET;

print '
<html>

<head>
<meta name=Title content="Digital Maya Website Audio">
<meta name=Keywords content="">
<meta http-equiv=Content-Type content="text/html; charset=macintosh">

<LINK REL=StyleSheet HREF="style.css" TYPE="text/css" MEDIA=screen>

<title>Website Title</title>

<script>
function EvalSound(soundobj) {
var thissound=document.getElementById(soundobj);
thissound.Play();
}
</script>

</head>

<body bgcolor=white lang=EN-US style="border:0;margin=0;align=center">

<div class=Section1>

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width=0
height=0>
<param name="src" value="'.$filename.'">
<param name="scale" value="tofit">
<param name="controller" value="true">
<param name="autoplay" value="false">
<param name="loop" value="false">
<param name="starttime" value="'.$starttime.'">
<param name="endtime" value="'.$endtime.'">
<embed src="'.$filename.'" id="s001" scale=tofit width=1 height=1 align=center controller=false autoplay=false
loop=false starttime="'.$starttime.'" endtime="'.$endtime.'" enablejavascript=true
pluginspage="http://www.apple.com/quicktime/download/" type="video/quicktime"></EMBED></OBJECT>

<form>
<img src="http://www.webucateus.com/dotnetnuke/Portals/0/Cache/images/soundIcon.gif" height=10 onClick="EvalSound(\'s001\')">
</form>

</div>

</body>
</html>
';
?>