Jump to content

Help Needed, RSS Security Sandbox problem


puratu

Recommended Posts

hi

I m trying to populate RSS feed in a php file below is the code I use

 

<?php

 

 

$session = curl_init("http://rss.news.yahoo.com/rss/topstories");               // Open the Curl session

    curl_setopt($session, CURLOPT_HEADER, false);       // Don't return HTTP headers

    curl_setopt($session, CURLOPT_RETURNTRANSFER, true);  // Do return the contents of the call

$xml = curl_exec($session);                       // Make the call

header("Content-Type: text/xml");               // Set the content type appropriately

echo $xml;       // Spit out the xml

curl_close($session); // And close the session

 

 

 

 

?>

 

it works perfectly, but I cant show the images of the RSS  in Flash

what am I doing wrong

please Help

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.