Matching logins to an old htpasswd file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,
I have a old htpasswd file with a lot of logins in this format:

test:dGRkPurkuWmW2 (test:test)
test1:dGlAW3zdxeAG2 (test1:test1)

now I have a login form what takes a POST "user" and a POST "pw"... but if you look at my above first example login.. the username and pass are "test:test" but it gets encoded into "test:dGRkPurkuWmW2" so how do I try to match the data I get from the POST "pw" field when that will come in as normal text?


Any example code, links (even a RTFM+URL) would be appreciated.

Thanks!
Ryan


------
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)
 
---------------------------------
Don't get soaked.  Take a quick peak at the forecast 
 with theYahoo! Search weather shortcut.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux