What is the Basic function to encode the password upon the authentication..
| From: | Scott Fletcher | Date: | Tue, 30 Dec 2003 23:14:59 +0000 |
| Subject: | What is the Basic function to encode the password upon the authentication.. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-173507@lists.php.net to get a copy of this message | ||
Hi!
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--
Thanks,
FletchSOD