please tell me anything you can about babel fish (on the fly mirror)

MO0t

Junior Member
Nov 28, 2002
9
0
0
I understand what program it uses to translate the pages... but I need to know about a different part of the whole system. When babelfish translates a page, it will download the hypertext, run the translater and then send the new translated hypertext to your browser. I'm interested in knowing how the webserver takes content from web and then makes it available locally...

Basically, I'd like to know how to do this type of "mirroring" on the fly.
 

Superwormy

Golden Member
Feb 7, 2001
1,637
0
0
Not sure if this is what you're looking for...

But with a programming language ( PHP, Java, etc. ) you can easily fetch a webpage from a remote source over an HTTP connection.

In PHP you just do an:

$contents = fread ("http://www.example.com/index.htm");

Then, you could take the contents and translate them, then send that output off to the user.
Does that answer your questioN?


If you're a PHP guy... http://www.php.net/manual/en/function.fopen.php
 

MO0t

Junior Member
Nov 28, 2002
9
0
0
That seems to be exactly what I want. Combine that function with SSL and password protection, and you've got a nice secure anonymous browser... at least in theory. Anyways, babelfish gave me the idea.