Proxy on website

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shubby
    New Member
    • Feb 2009
    • 24

    Proxy on website

    Hello,

    I'm running a website in php and i wanna make people enable to browse from my site, some proxy kind of scripts needs to be installed, like what i want is the sometime we dont have access to certain sites, like in colleges and universities, so what I want to do is to be able to access those sites as well from that same place, please suggest me what exactly needs to be done

    Thanks and regards
  • electronik
    New Member
    • Dec 2009
    • 5

    #2
    the solution in PHP would be:
    Code:
    echo file_get_contents('http://www.example.com/');
    but thats not a proxy it just gives you the html from the site... not the images and other data..
    So if there is a link to a file on the site with the URL example.com the browser would try to get it from there... and fail because of the filter

    A solution could be setting up a dynamic DNS... if the filter is name base
    So that you browse illegal.yoursit e.com
    and it gives you the ip from illegal.com...

    So you would need DNS access and a script that inserts the entry.

    Comment

    Working...