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

curl-and-php

Passing swf flash vars using curl?

From: - RaZVy* <razvy_402_at_yahoo.com>
Date: Mon, 26 Sep 2011 08:33:36 -0700 (PDT)

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