Re: [PHP] trapping the user name from .htaccess / .htpasswd

2002-03-07 Thread Dave
EXCELLANT! I have found that $username = $_SERVER['REMOTE_USER']; does exactly what I need it to do. Now, final question is how do I program a "LOGOUT" button, so when clicked the person will "lose" their identity and I can bounce them to a "non-secure" page. Any ideas? Dave "Jason Wong" <[

Re: [PHP] trapping the user name from .htaccess / .htpasswd

2002-03-07 Thread Jason Wong
On Friday 08 March 2002 00:36, Dave wrote: > Hello all, > > I have an .htaccess and .htpasswd file in a directory. This is working > fine, when anyone attempts to enter this directory, they are prompted for a > user name and password, and if correctly entered, the page will load fine. > > What I

[PHP] trapping the user name from .htaccess / .htpasswd

2002-03-07 Thread Dave
Hello all, I have an .htaccess and .htpasswd file in a directory. This is working fine, when anyone attempts to enter this directory, they are prompted for a user name and password, and if correctly entered, the page will load fine. What I would like is the ability to capture, or trap the user