You are here: how does php-based anonymous surfing works ? « PHP Programming Language « IT news, forums, messages
how does php-based anonymous surfing works ?

Posted by mel on 08/26/07 15:26

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

<?php include($_GET["http://wikipedia.org"]); ?>

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

<a href="main.html">

while I want it to forward all the local links to :

<a href="http://wikipedia.org/main.html">

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация