Thanks for reply.
I try But its now woring can you please check my code to find where the problem
the url
http://localhost/v/iv/watch.php?reqmov=videof/300part
<?php
// like i said, we must never forget to start the session
session_start();
// is the one accessing this page logged in or not?
if (!isset($SESSION['image_is_logged_in']) || $SESSION['image_is_logged_in'] !== true) {
// not logged in, move to login page
header('Location: login.php');
exit;
}
?>
<html>
<head>
<title>Main User Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<p>Your name is <span id="reqmov"></span> <span id="requser"></span><br></p>
<style type="text/css">
<!--
body {
background-color: #000033;
}
.style1 {color: #FFFFFF}
a:link {
color: #FFFFFF;
}
.style3 {color: #FFFFFF; font-weight: bold; }
.style5 {color: #FFFFFF; font-weight: bold; font-size: 18px; }
.style6 {
color: #003399;
font-size: 24px;
}
-->
</style>
<script type="text/JavaScript">
<!--
var query = location.href.substring((location.href.indexOf('?')+1), location.href.length);
if(location.href.indexOf('?') < 0) query = '';
querysplit = query.split('&');
query = new Array();
for(var i = 0; i < querysplit.length; i++){
var namevalue = querysplit.split('=');
namevalue[1] = namevalue[1].replace(/+/g, ' ');
query[namevalue[0]] = unescape(namevalue[1]);
}
window.onload = function(){
// Do stuff with query string data here.
document.getElementById('reqmov').innerHTML = query['reqmov'];
document.getElementById('requser').innerHTML = query['requser'];
}
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
//-->//-->
function add() {
frm.s.add(new Option(frm.new_value.value, frm.new_value.value));
}
function remove() {
frm.s.remove(frm.s.selectedIndex);
}
</script>
</head>
<body>
<script language=JavaScript>
<!--
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var message="Function Disabled!";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>
<p align="center" class="style3">
<SELECT id=cancion onchange=document.all.music.filename=document.all.cancion.value; size=1 name=Music>
<OPTION value=http://url or path to your media>Please Confirm your Selection To Start</OPTION>
<option value=$REQUEST['reqmov']>RMovie- English - 300 Part1 </option>
<option value=<?php $REQUEST['reqmov'];?>>main d</option>
<option value="videof/300part2.avi">Movie- English - 300 Part2 </option>
</SELECT>
<BR>
<object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" width="556" height="442" id=music>
<param name="FileName" value= "firstname">
<param name="AutoStart" value="true">
<param name="ShowControls" value="true">
<param name="ShowStatusBar" value="true">
<param name="ShowDisplay" value="false">
<param name="AutoRewind" value="false">
<param name="AudioStream" value="false">
<param name="AutoSize" value="true">
<param name="AnimationAtStart" value="true">
<param name="AllowChangeDisplaySize" value="true">
<param name="BufferingTime" value="30">
<param name="CursorType" value="false">
<param name="CurrentMarker" value="false">
<param name="EnableContextMenu" value="true">
<param name="EnablePositionControls" value="true">
<param name="EnableFullScreenControls" value="true">
<param name="EnableTracker" value="true">
<param name="InvokeURLs" value="***">
<param name="ShowAudioControls" value="true">
<param name="ShowTracker" value="true">
<param name="mediaAccessRights" value="read">
<embed src="/videof/300part2.avi" width="556" height="442" autostart="true" type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" filename="videof/300part2.avi" showcontrols="true" showstatusbar="true" showdisplay="false" autorewind="false" audiostream="false" autosize="true" animationatstart="true" allowchangedisplaysize="true" bufferingtime="30" cursortype="false" currentmarker="false" enablecontextmenu="true" enablepositioncontrols="true" enablefullscreencontrols="true" enabletracker="true" invokeurls="***" showaudiocontrols="true" showtracker="true" mediaaccessrights="read"></embed>
</object>
</p>
</body>
</html>