Relative urls in a proxied website don't work
问题 in PHP, I've written a proxy function that accepts a url, user agent, and other settings. Then the function makes a curl request for the website, and prints out that output with proper html content type headers into an iframe (this is necessary only because of my need to change some headers). That proxied output often has lots of assets with relative URLS and actually inheret the hostname of my site, not the proxied site: example: [http:// MYSITE .com/proxy?url=http://somesite.com] would