Help with a proxy set-up

Discussion in 'HTML & Website Design' started by cash4clixs, May 2, 2009.

  1. #1
    i think this is the right area for this just move if needed

    Ok im creating a proxy using one of the templates from freeproxytemplates.com


    anyway, can someone let me know how to stop people downloading big files from places like rapidshare.

    i know there is something u gatta edit but cant remember what


    thanks in advance
     
    cash4clixs, May 2, 2009 IP
  2. WebEvader

    WebEvader Well-Known Member

    Messages:
    1,026
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    115
    #2
    Which script are you using ? Glype, Phproxy or Zelune... then i will be able to help ;)
     
    WebEvader, May 2, 2009 IP
  3. cash4clixs

    cash4clixs Peon

    Messages:
    283
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    cash4clixs, May 2, 2009 IP
  4. Ristaki

    Ristaki Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you're a developer, just add this code:
    $bad_proxy_urls = array('rapidshare.com', 'megaupload.com');
    $THE_PROXIFIED_URL = ''; // this part you get from your code :)
    foreach($bad_proxy_urls as $url){
    if($stristr($THE_PROXIFIED_URL, $url)){
    exit('Not allowed access to '.$url);
    }
    }
    
    Code (markup):
    You can easily edit the code to your needs. If you have troubles with mergin the code, write and i'll help you! :)
     
    Ristaki, May 2, 2009 IP