PDA

View Full Version : Perl MIME HTACCESS Authentication


mr_ego
07-20-2002, 03:41 AM
I want to have a htaccess style login box for my perl script but i dont know to do it.

I thought of using the getLogin() command http://www.perldoc.com/perl5.6.1/pod/func/getlogin.html but i dont know if it is the correct command to use and also, i dont know C. Plus im using a WIN2000 server (my computer)

mr_ego
07-23-2002, 01:54 PM
I really need help here ... its really annoying me!

mr_ego
07-27-2002, 02:55 AM
HELP I AM REALLY DESPIRATE NOW!

Someone please .... all i need to do is find the information of a user login.

IN PHP: PHP_AUTH_USER

IN ASP: AUTH_USER

In PERL: ?

Feyd
07-29-2002, 06:41 PM
$REMOTE_USER should work for you.