• 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

G4R Super Cloaked Vs. Frame Cloaked

Which one do you like more?

  • Frame Cloaking

    Votes: 1 16.7%
  • Super Cloaking

    Votes: 3 50.0%
  • Both are fine

    Votes: 2 33.3%

  • Total voters
    6

NetRaw

Guest
I made that super claoked and frame cloaked work, with pathforwarding ... but supercloaked cant load images, so you must give the FULL URL to EACH image. If you use frame cloaked you get more speed, pathforwarding but it redirects with a frame.

I want you guys to rate which once you like more, and give me new ideas
 
Hey Netraw, I spotted a problem with your Super cloaked script. it displays a 4 digit number below all the text...

See my site trenzterra.g4r.net it has that 4 digit number below Terms of Service.

All my pages have it too...
I tried using my actual URL and it didn't display the 4 digit number.
 
Originally posted by trenzterra
then i prefer super cloaked. Anyway how did you do super-cloaked?
Pretty easy: just do a PHP include... You can see it when you use a none existing page. Or did you fixed that by using file_exists()?
 
Netraw is correct, it isn't as easy as that.

However, it's not much harder (this example also adds a base url to allow pictures etc. to work)...

PHP:
$fd = fopen ($redirect_url, "r");
while (!feof ($fd)) {
    $buffer = fgets($fd, 4096);
	$buffer = ereg_replace("<html>", "<html><base href=$redirect_url>", $buffer);
	$buffer = ereg_replace("<HTML>", "<HTML><base href=$redirect_url>", $buffer);
    echo $buffer;
}
fclose ($fd);

Try it here: yahoo.r4f.com

Ben

btw this isn't a feature r4f.net usually offers, but it can be enabled for freewebspace.net users... email support.
 
Originally posted by NetRaw
alright. I will get ride of it :)
well try atleast
is it removed now? lazy to check...

[add]it isn't removed still...anyway frame cloaked will solve the problem but I encourage you to solve the problem(if you can).
 
Last edited:
Originally posted by !ben
Netraw is correct, it isn't as easy as that.

However, it's not much harder (this example also adds a base url to allow pictures etc. to work)...

PHP:
$fd = fopen ($redirect_url, "r");
while (!feof ($fd)) {
    $buffer = fgets($fd, 4096);
	$buffer = ereg_replace("<html>", "<html><base href=$redirect_url>", $buffer);
	$buffer = ereg_replace("<HTML>", "<HTML><base href=$redirect_url>", $buffer);
    echo $buffer;
}
fclose ($fd);

Try it here: yahoo.r4f.com

Ben

btw this isn't a feature r4f.net usually offers, but it can be enabled for freewebspace.net users... email support.

The problem with your code is, it eats up bandwidth. You can easly use:
PHP:
if(substr($redir_url, -4)==('.gif' || '.jpg' || '.jpeg'))
{
header("Content-Type: application/image");
header("location: $redit_url");
exit;
}
This code needs work, but it saves on bandwidth...
 
The problem with your code is, it eats up bandwidth
No it doesn't. It's actually a better way of doing it, you're just needlessly complicating things by trying to load the images through the script rather than just printing out a <base href=""> tag and letting it be done with. It could be optimized a bit more, but I don't see where it's wasting bandwidth.
 
Back
Top