Reputation:
This is called from flash/action script File name: rssProxy.php RSS reader uses PHP any work around on a non PHP server? Script below:
<?php
$rss = $_GET['rss'];
// make sure that some page is really being called
if ($rss && $rss != ""){
// make sure that an http call is being made - otherwise there's access to any file on machine...
if ((strpos($rss, "http://") === 0) || (strpos($rss, "https://") === 0)){
readfile($rss);
}
}
?>
Upvotes: 0
Views: 197
Reputation: 674
Assuming the action script links to http://www.example.org/rssProxy.php?rss=path/file.xml
you should get the same result by just linking to http://www.example.org/path/file.xml
as long as the path directory is public accessable.
Upvotes: 1