username of a currently logged in user
| From: | robin dot gudgeon at bt dot com | Date: | Tue, 30 Oct 2001 15:38:55 +0000 |
| Subject: | username of a currently logged in user | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-69335@lists.php.net to get a copy of this message | ||
Hi,
I've written a site using PHP that relies on htaccess authentication. This
is all working fine, but I am having problems finding the username of the
currently logged-in user (which I need to be able to change passwords). I
thought $user contained the user, or $PHP_AUTH_USER but neither of these
hold anything...
any ideas?
Cheers
Rob
-------------------------------------
Rob Gudgeon
BT Systems Engineer
Distributed Platform Strategy & Design
BT Affinitis - Computing Partners
Phone: 020 7250 5156
Mobile: 07720 052692