Need a PHP Downloading Script

Discussion in 'PHP' started by hostpk.net, May 14, 2011.

  1. #1
    Hello,

    Dear PHP Programmers, I need a PHP Download script that works like this...


    Suppose::

    http://www.myfriendsite.com/
    This is my friend site, i need to download from my friend site...

    E.P http://www.myfriendsite.com/downloads/file.zip

    I need a Download script that works like this...
    http://www.mysite.com/?id=1234
    and it will download file from my friend site, without showing REAL URL, even in Download Managers, and if Download Counter comes with this script it would be GOOD.

    (Script may be with or without MySQL - No Problem)

    Thanks..
    (i think u can understand what i need, if not then please tell me i will clear to you)
     
    hostpk.net, May 14, 2011 IP
  2. Projekt.Gopher

    Projekt.Gopher Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You might be able to do what you're looking for here with the fpassthru() function.
     
    Projekt.Gopher, May 14, 2011 IP
  3. medzmay

    medzmay Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    try cURL lib. it works very well.
     
    medzmay, May 15, 2011 IP
  4. hostpk.net

    hostpk.net Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for Your Reply Dears,
    But i have not much knowledge about PHP :d, Can you please Code a little Script here?? Complete :D
     
    hostpk.net, May 16, 2011 IP