> If a user is logged in via http (authentification e.g. with  .htaccess and
> .htpasswd file), how can i get the username of the current logged in user?
>
> Thanx
> Harry

try $_SERVER['PHP_AUTH_USER']

rich

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to