how does php-based anonymous surfing works ?
am 26.08.2007 17:26:37 von MelHi,
I am trying to understand how anonymous web surfing works.
They are know services that proxies a website allowing you to make
requests to a server-in-the-middle and getting the content back,
instead of making it directly to the desired website.
Apparently, they fetch the website content and substitutes
all file/links/image/css references to the external server.
It is pretty much what
would do, but also fixing all the css, links local references
to the external server.
Using a simple include, this
proxy.php?url=http://wikipedia.org
would fetch html as it is, and may have links like this
while I want it to forward all the local links to :
Does anyone knows how to do this ?
PS I am trying to avoid html manipulation (like using tidy or
phphtmlparser), but I was wondering if there is any alternative ...