0) { curl_setopt($ch, CURLOPT_POST, TRUE); curl_setopt($ch, CURLOPT_POSTFIELDS, $post); } curl_setopt($ch, CURLOPT_COOKIEFILE, '/tmp/curl.cookie'); curl_setopt($ch, CURLOPT_COOKIEJAR, '/tmp/curl.cookie'); $data = curl_exec($ch); return($data); } if(isset($_GET['rss'])) { $rss = $_GET['rss']; if(!preg_match('/http[s]?:\/\//', $rss, $matches)) $rss = 'http://'.$rss; header("Pragma: no-cache"); header("Content-type: application/rss+xml"); echo file_get_contents($rss); } elseif(isset($_GET['cf'])) { $rss = $_GET['cf']; if(!preg_match('/http[s]?:\/\//', $rss, $matches)) $rss = 'http://'.$rss; header("Pragma: no-cache"); header("Content-type: application/rss+xml"); echo OpenURLcloudflare($rss); } else { echo ' Proxy RSS


'; } ?>