Username from htaccess

Is there a way, on a UNIX box running Apache, to get the username from .htaccess of the user that is currently logged on?  I tried $ENV{'REMOTE_USER'}, this doesn't work.  Any thoughts?
Who is Participating?
shchukaConnect With a Mentor Commented:
In order for $ENV{'REMOTE_USER'} to work, the program, which has this code must itself be in the password-protected area.  I suggest you look at the Apache FAQ - this is one of the questions there.

dmercerAuthor Commented:
Thanks... I had just remembered that as soon as I sent out the question... Thanks again...
All Courses

From novice to tech pro — start learning today.