Belirli bir sayfa / yem için çok çok basit bir proxy oluşturmak için nasıl

0 Cevap

Ben basit bir sorun var. Ch yaşayan biz sosyal medya siteleri çok erişiminiz yok * na. Yani bir bloke rss dosyası ve çıkış sitesini kendisi bu rss olarak içeriğini getirir bir php dosyası oluşturmak istiyorum.

unblockedserver.com / twittfeed.php? id = 23038034

<?php
$id  = (int)$_GET['id'];
$url='http://twitter.com/statuses/user_timeline/'.$id .'.rss';
header("Content-Type: application/xml; charset=ISO-8859-1"); 
$feed = getthecontentfromthe($url);? // what goes here?

echo $feed;

The main site handles the caching and generally the url/page will be a secret, so i hope this will be simple enough.
Cheers

0 Cevap