26 Sep 2011 17:33
Passing swf flash vars using curl?
- RaZVy* <razvy_402 <at> yahoo.com>
2011-09-26 15:33:36 GMT
2011-09-26 15:33:36 GMT
| Hello. Is it possible to pass flash vars to a swf file using curl? I tried with
<?php
header("content-type: application/x-shockwave-flash" );
$url = "http://mywebiste.com/videoPlayer.swf?settingsFile=st.xml";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch,
CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
$result = curl_exec($ch);
curl_close($ch);
echo $result;
?>
Also tried with post fields stil it didn't work. I tried the above with a php file that reads the videoPlayer.php and the same result.
Dose
anybody know the answer?Thanks
|
_______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
RSS Feed