Anonymous Websites

Posted:
in General Discussion edited January 2014
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?

Comments

  • Reply 1 of 12
    curiousuburbcuriousuburb Posts: 3,325member
    http://anonymizer.com



    changed from it's former free status, but probably what you're thinking of
  • Reply 2 of 12
    ast3r3xast3r3x Posts: 5,012member
    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
  • Reply 3 of 12
    willoughbywilloughby Posts: 1,457member
    Quote:

    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?
  • Reply 4 of 12
    willoughbywilloughby Posts: 1,457member
    Oh, one more thing. Any sites that use relative links to other pages or images will be broken. For instance if my site references an image like this "/images/myimage.jpg" than it will try to look for that image on your site if you spit back the html "as-is".



    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.
  • Reply 5 of 12
    ast3r3xast3r3x Posts: 5,012member
    Quote:

    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

  • Reply 6 of 12
    If he does not have AIM show me how your using file(), Are you using it as a string? or just echo`ing the function?
  • Reply 7 of 12
    There used to be a site...safeweb.com I think it was. Successfully circumvented my high school's internet blocks. Pity I didn't discover it till the last week of my senior year. It disappeared shortly thereafter. Oh well, I don't really have any need for it anymore anyhow.
  • Reply 8 of 12
    toweltowel Posts: 1,479member
    Quote:

    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.
  • Reply 9 of 12
    brbr Posts: 8,395member
    Just do a google search for anonymous web proxy.
  • Reply 10 of 12
    willoughbywilloughby Posts: 1,457member
    I can't use AIM at work, they block it. But this should get you started:



    Code:




    <?

    $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.
  • Reply 11 of 12
    willoughbywilloughby Posts: 1,457member
    Quote:

    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.
  • Reply 12 of 12
    ast3r3xast3r3x Posts: 5,012member
    now i dont know if i should skip around in the book to get this working or just do what i originally planned and read the book then go back and use it as refrence to do things
Sign In or Register to comment.