how does php-based anonymous surfing works ?

how does php-based anonymous surfing works ?

am 26.08.2007 17:26:37 von Mel

Hi,

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 ...

Re: how does php-based anonymous surfing works ?

am 26.08.2007 17:36:27 von Jerry Stuckle

mel wrote:
> Hi,
>
> 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 ...
>


These generally don't even invoke PHP. They are done at the server level.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================