[PHP] ".htaccess login id"

2002-02-18 Thread Mohamed Ismail Bulale
To get username and password with php, use this below code: $headers = getallheaders(); $auth=$headers['Authorization']; $pos = strpos($auth, ' '); $delivered_auth_type = strtolower(substr($auth, 0, $pos)); $authorization_params = substr($auth, $pos+1); //* analyse parameters if ($delivered

[PHP] .htaccess login id

2002-02-18 Thread Dave
Hi, I currently have a directory of my web site access protected using .htaccess and .htpasswd. Is there any way of retrieving the user ID in PHP after the person successfully logs in? Thanks in advance Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww