http://qs1969.pair.com?node_id=190538

dswimboy has asked for the wisdom of the Perl Monks concerning the following question: (cgi programming)

I am using Apache's htaccess to password protect directories. is there a way for my perl script to find out the username of who is logged on?

Originally posted as a Categorized Question.

  • Comment on getting who logged on with using basic auth

Replies are listed 'Best First'.
Re: getting who logged on with using basic auth
by merlyn (Sage) on Aug 15, 2002 at 22:22 UTC
    It's in $ENV{REMOTE_USER}.