php help

Discussion in 'PHP' started by djjenny, Dec 18, 2009.

  1. #1
    <?php
    header("Expires: 0");
    header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
    header("Cache-Control: private",false);
    header("Content-Disposition: attachment; filename=ursite.com_$name");
    header("Content-Transfer-Encoding: binary");
    readfile(str_replace(' ', '%20', $url));
    ?>

    see the example site: http://tinyurl.com/yb4354m

    Hi im new to php but i need some help i saw a website making .php?url=link
    they are using some other site link and download link renamed like there link
    can any one tell me how to figure it out !
     
    djjenny, Dec 18, 2009 IP
  2. astkboy2008

    astkboy2008 Peon

    Messages:
    211
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    whats is the problem exactly
     
    astkboy2008, Dec 18, 2009 IP