cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Passing swf flash vars using curl?

From: Bartłomiej Blicharski <bartek5186_at_gmail.com>
Date: Mon, 26 Sep 2011 22:32:06 +0200

if you send vars from server to server swf, you cannot see that in swf
instance on the client side

2011/9/26 - RaZVy* <razvy_402_at_yahoo.com>

> 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
Received on 2011-09-26