Fsoft Posted August 2, 2009 Share Posted August 2, 2009 Hello, $sid = session_id(); echo "<embed height=\"399\" width=\"415\" volume=\"0\" showtracker=\"0\" showpositioncontrols=\"0\" showgotobar=\"0\" showdisplay=\"0\" showaudiocontrols=\"1\" showcontrols=\"1\" sendplaystatechangeevents=\"-1\" sendmousemoveevents=\"0\" sendmouseclickevents=\"0\" sendkeyboardevents=\"0\" senderrorevents=\"-1\" sendwarningevents=\"-1\" sendopenstatechangeevents=\"-1\" enabletracker=\"-1\" enablefullscreencontrols=\"1\" enablepositioncontrols=\"-1\" enablecontextmenu=\"0\" enabled=\"-1\" displaysize=\"4\" displaymode=\"0\" allowchangedisplaysize=\"-1\" allowscan=\"-1\" autosize=\"-1\" showstatusbar=\"1\" autostart=\"1\" allowfullscreen=\"true\" bgcolor=\"#000000\" id=\"wmplayer\" pluginspage=\"http://www.microsoft.com/Windows/MediaPlayer/\" type=\"application/x-mplayer2\" src=\"link.php?token=$sid\" mediawrapchecked=\"true\"/>"; Small problem using this code, when the <embed> hits link.php, it is suppose to give if($_GET["token"] == SESSION_ID()) { } as true when I put this statement in link.php But it is not giving it as true I am not able to use if statement for some security. Please help FAISAL! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.