Thanks, that does help!!! FletchSOD
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Scott Fletcher wrote: > > > What is the function exactly for encoding the user's typed password in > > PHP after the HTTP Authentication pop-up window by Apache was submitted? I > > tried the base64_encode() but it is not the right function. The > > authentication header here is .. > > > > --snip-- > > header('WWW-Authenticate: Basic realm="My Private Stuff"'); > > header('HTTP/1.0 401 Unauthorized'); > > --snip-- > > Encoding it for what? It comes into PHP as a $_SERVER variable in plain > text. If you want to compare it to an .htaccess type password, then I > think crypt() is what you need. > > -- > ---John Holmes... > > Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ > > php|architect: The Magazine for PHP Professionals – www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php