A php script to work as a type of Proxy? (using php headers)
Posted: Thu Sep 02, 2004 9:17 am
I am an employee for a large company, which uses a proxy coupled with a webpage filter, to block websites which are deemed to not be work related. Personally, I find this rather annoying, lol, because it blocks harmless sites (news sites, google's toolbar site, etc), and almost always has them wrongly categorized with a reason for the block (I've come across more than one family site that was blocked as pr0n, lol).
I have my own webservers, and none of my own websites are blocked by the web proxy. So my thinking is that I could create a php script that will display websites as they were intended to be displayed, in a sort of web proxy.
I think this could be done by having a frame at the top of the html output, where the webaddress is entered, that you would like to view (simulating a browser). The webpage loads up, but using PHP headers, all content is renamed as if it were coming from the site hosting the proxy script (my website).
This method would allow for uninterrupted browsing, would not require my server to download any files, would just rename the sources and pass them on through.
What do you guys think? Sound feasible?
Does anyone know of any script that already exists, so that I don't have to re-invent the wheel?
I have my own webservers, and none of my own websites are blocked by the web proxy. So my thinking is that I could create a php script that will display websites as they were intended to be displayed, in a sort of web proxy.
I think this could be done by having a frame at the top of the html output, where the webaddress is entered, that you would like to view (simulating a browser). The webpage loads up, but using PHP headers, all content is renamed as if it were coming from the site hosting the proxy script (my website).
This method would allow for uninterrupted browsing, would not require my server to download any files, would just rename the sources and pass them on through.
What do you guys think? Sound feasible?
Does anyone know of any script that already exists, so that I don't have to re-invent the wheel?