Re: Passing swf flash vars using curl?
Bartłomiej Blicharski <[email protected]> Mon, 26 Sep 2011 22:32:06 +0200
| Newsgroups | gmane.comp.web.curl.php |
|---|---|
| Message-ID | <CAOqgSjM4Rt2+mU5-7hfkj0oTuuJ-zwrWOta+6dNPnzoA5WDY9A@mail.gmail.com> |
if you send vars from server to server swf, you cannot see that in swf instance on the client side 2011/9/26 - RaZVy* <[email protected]> > 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 > > _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php