• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

URL Cloaking......settling the dispute

Smilly00

New Member
ok well not dispute but whats the HTML code for URL cloaking many have asked but this is just a clearing up kinda post hope to get an answer.
 
"URL cloaking" just means the page (and the real URL with it) are hidden by a frameset.

At http://fake_url.com/index.html:

<frameset rows=100%,*>
<frame src=http://real_url.com/>
</frameset>

When you go to http://fake_url.com/ you're actually loading http://real_url.com/, but the http://fake_url.com/ URL stays in the browser.

You can also load the page through a script of some sort, for example:

At http://fake_url.com/index.pl:

#!/usr/bin/perl
use LWP::Simple;
$page=get "http://real_url.com/";
print "Content-type: text/html\n\n";
print $page;

...with the same effect.
 
One warning: Make sure that you break out of the frame with target_top when setting links off the site. It can be quite annoying to browse with an active frame cloak that you're schlepping along from a site you visited earlier.

trekchick
 
Back
Top