Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Sep 2011
    Location
    washington, dc
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question Simple Proxy - Hard Coded Links

    I need to create a simple proxy that delivers a site through the server. One URL only and am hoping for a simple script, not one like Glype / Zelune / Etc.

    Scenario:
    User from wherever they are clicks on a link they can download but it goes through the our server. In essence, we don't know what IP address the user will come from but need to have a set 'IP' address every time they go for a download.

  • #2
    New Coder
    Join Date
    Sep 2011
    Location
    washington, dc
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Anyone have any ideas on how to do this from a server and mask it like a client request?

  • #3
    New Coder
    Join Date
    Sep 2011
    Location
    washington, dc
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts
    I really want to make a "server side doing a client request php". In essence I wish this code could work as a link / work period and send it off through the server's IP address. I need to do this with an image and a link at some point but the link is the huge part!

    Code:
    <?php
        
        $link = file("http://linkaddress.com");
        
        foreach($link as $part)
        {
            echo $part;
        }
        
    ?>


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •