Anonymous Websites
I used to know this website where you could browse other website from it and it would not give ur IP or anything, completely anonymous (also good for getting by certin kinds of internet blocking)
my firts question would be do you know of any websites like this?
second question would be will i be able to do this with either PHP or javascript?
my firts question would be do you know of any websites like this?
second question would be will i be able to do this with either PHP or javascript?
Comments
changed from it's former free status, but probably what you're thinking of
well now i want to figure out how to set up a webpage to do that for me
Originally posted by ast3r3x
i think that was it...its not free anymore...man that stinks
well now i want to figure out how to set up a webpage to do that for me
heh
remember our conversation about PHP? Everything you need is built into the language. You can use the file() command and put a webpage in as input:
file("http://www.apple.com"
Then read each line by line and output it back out to the screen. So you could make a php page on your site that takes a URL as a parameter and just spits out back all the HTML it received. Pretty cool eh?
So to get around that, you should probably use a regular expression function to look for all relative paths and prepend the original URL that was passed in to the paths. That way it will look back at the originating server for images and links.
Originally posted by Willoughby
heh
remember our conversation about PHP? Everything you need is built into the language. You can use the file() command and put a webpage in as input:
file("http://www.apple.com"
Then read each line by line and output it back out to the screen. So you could make a php page on your site that takes a URL as a parameter and just spits out back all the HTML it received. Pretty cool eh?
haha i havnt gotten that far in my PHP book
would that work, wouldn't it leave ur site when they click on a link that you have displayed?
i also havn't gotten the file("http://www.apple.com" to work somehow, it gives me an error but i'll keep trying
uh...do you have instant messenger, so i could possibly ask u question directly since u seem to be the PHP god
Originally posted by ast3r3x
i think that was it...its not free anymore...man that stinks
well now i want to figure out how to set up a webpage to do that for me
It looks like it's still free. There's a text bar towards the top of the page that says "try private surfing for free" and it seems to do exactly what you remember. I'm not sure what their payware does extra, but give anonymizer.com another try.
<?
$myURL = 'http://www.yahoo.com/';
$lines = file($myURL);
foreach ($lines as $line_num => $line) {
echo $line;
}
?>
Now put that on your server somewhere. When you access the page, it looks like you're at Yahoo but if you look at the URL you're still on your site. Yahoo sees the access as coming from your server, not your client machine. So basically its anonymous browsing. Yahoo is a bad example though because they link their images so that it goes directly back to their servers. If they didn't, you'd have to scan all the $lines and prepend "http://www.yahoo.com" to any href or img tags.
So go one more step and make that $myURL an input field from a form. That way you can specify the website on the fly.
Originally posted by ast3r3x
haha i havnt gotten that far in my PHP book
would that work, wouldn't it leave ur site when they click on a link that you have displayed?
Oh yeah...forgot about that. So you'd have to parse ALL links and prepend your site as well. Let say for instance your script is this:
"http://www.yourserver.com/anonymous.php?url=www.apple.com"
So lets say that displays Apple.com but one of the links you want to click on is apple.com/quicktime. Your script has to make sure all links point back to your site. So you'd have to scan for < a href="???" > and prepend :
"http://www.yourserver.com/anonymous.php?url="
which would make the link:
"http://www.yourserver.com/anonymous.php?url=apple.com/quicktime"
I hope I'm not confusing you. Its not really a beginner thing but it is a good challenge to get your PHP skills up to speed.