summaryrefslogtreecommitdiff
path: root/bPod/rssProxy.php
blob: d9c6e44a1543a3a4452c64cd8a78b1841e532d18 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?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);
	}
}

?>