On 10/04/2011 08:43, Shlomit Afgin wrote:
>
>
>
> Hi,
>
>
> I want to build a script that only authenticate users can access.
>
> The authentication I want to use is Apache authentication.
>
> During the script I need to know the exact person that login.
>
>
> Is there any environment variable that keep this information?
>
>
I believe that $ENV{HTTP_USER} is what you want. It will be filled
after standard HTTP authentication exists and will contain the
authenticated username.
Yitzchak
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl