Hello frnds,
I want to echo an swf file to the browser screen, just as if i was clicking an swf file directly.
I tried the following:
but I get the inner content of the file on the browser n not the swf movie.
Can anyone suggest a solution to it.
Edit:
Sorry it proved to be a silly question, solved it myself in a while.
However actual problem is here which I am trying to solve. I hope thr are some java masters over here:
Kindly read my post here abt the actual problem and help me if anyone here can .... plzzzzzzzzzz
http://forum.java.sun.com/thread.jspa?threadID=5258166
I want to echo an swf file to the browser screen, just as if i was clicking an swf file directly.
I tried the following:
Code:
<?php
$file = "mediaplayer.swf";
$handle = fopen($file,"rb");
$ret = fread($handle, filesize($file));
fclose($handle);
echo($ret);
?>
but I get the inner content of the file on the browser n not the swf movie.
Can anyone suggest a solution to it.
Edit:
Sorry it proved to be a silly question, solved it myself in a while.
However actual problem is here which I am trying to solve. I hope thr are some java masters over here:
Kindly read my post here abt the actual problem and help me if anyone here can .... plzzzzzzzzzz
http://forum.java.sun.com/thread.jspa?threadID=5258166
Last edited: