> Hi, all.
> As I can authenticate visitors on Perl to use not HTTP modules?
> __________________________________________________
> HTTP Authentication example
>
> <?php
> if(!isset($PHP_AUTH_USER)) {
> Header("WWW-Authenticate: Basic realm=\"My Realm\"");
> Header("HTTP/1.0 401 Unauthorized");
> echo "Text to send if user hits Cancel button\n";
> exit;
> } else {
> echo "Hello $PHP_AUTH_USER.<P>";
> echo "You entered $PHP_AUTH_PW as your password.<P>";
> }
> ?>
Take a look at CGI::Authent on http://Jenda.Krynicky.cz
Jenda
== [EMAIL PROTECTED] == http://Jenda.McCann.cz ==
28th of March I'll march out of the "army"
I'll be free so if you want me ...
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl