quesion about authorization

Discussion in 'PHP' started by legend19892008, Nov 18, 2008.

  1. #1
    plz i need a direct link to a file that has password in server
    i mean
    http://www.name.com:2082/file.zip
    it requires username and password
    i need to put usename and password in the link to be downloaded
    how?
     
    legend19892008, Nov 18, 2008 IP
  2. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #2
    put it into a dir and protect that dir with HTTP AUTH OR HTACCESS
     
    crivion, Nov 18, 2008 IP
  3. harrisunderwork

    harrisunderwork Well-Known Member

    Messages:
    1,005
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    135
    #3
    You can download the file using curl .

    PM me, I can do it for you :)
     
    harrisunderwork, Nov 18, 2008 IP
  4. born2hack

    born2hack Banned

    Messages:
    294
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    @above two
    he is asking for somehting else

    @OP
    Like this: http://[B]username[/B]:password@name.com:2082/file.zip
     
    born2hack, Nov 19, 2008 IP
  5. atlantaazfinest

    atlantaazfinest Peon

    Messages:
    389
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    And looks to me as that is your cpanel directory so i highly don't recommend you post your username and password like that.!
     
    atlantaazfinest, Nov 19, 2008 IP