script to pass username password

Discussion in 'JavaScript' started by coldclimber, Jan 5, 2007.

  1. #1
    Is there a way to have a page that redirects you to a password protected directory but lets you in by having some type of script that sends the username and password.
     
    coldclimber, Jan 5, 2007 IP
  2. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #2
    urm, not that I'm aware of, php doesn't send the headers to log you in and so I don't think it has any control over them, it's apache that send unauthorized headers that create the login box, try protecting the files with php authentication it'll be easier .....
     
    krakjoe, Jan 5, 2007 IP