I have configured a simple php proxy file:
echo file_get_contents($_GET['url']);
and it seems to work with most pages(cnn.com, foxnews.com, twitter, facebook …) but for some reason it completely messes up others, it enough to compare http://www.index.hr and http://phppetar.heliohost.org/proxy.php?url=http://www.index.hr to know what i mean …
i have also noticed that logo image for google.com doesn’t work
does anyone knows what could be the problem?
P.S i have tried curl but with same results ..
You could add
<base>html tag so that all relative URLs will be taken from the original site. On the other hand, they will see in their logs your URL in referrer field, but I’m not sure if that matters to you.