Hello,
Sorry my english is very, very bad :)
I could not determine from where the error could come. Then I
allows itself to write to the maintenor of the different program which I use...
gyptis:/home/gyptis/public-html# cat t.pl
#!/usr/bin/perl -w
use strict;
use diagnostics;
use Apache::Htpasswd;
my ($ht) = new Apache::Htpasswd(".htpasswd");
$ht->htpasswd("mans", "lolo");
printf("OK\n") if ( $ht->htCheckPassword("mans", "lolo") );
printf("Crypt: %s\n", $ht->CryptPasswd("lolo", "cz"));
printf("CryptSystem : %s\n", crypt("lolo", "cz") );
1;
gyptis:/home/gyptis/public-html# > .htpasswd
gyptis:/home/gyptis/public-html# grep mans: /etc/passwd
mans:cz7iU4PSKOX96:1000:1000:Jos� Mans,,,:/home/mans:/bin/bash
gyptis:/home/gyptis/public-html# ./t.pl
OK
Crypt: cz7iU4PSKOX96
CryptSystem : cz7iU4PSKOX96
gyptis:/home/gyptis/public-html# cat t.asp
<HTML> <HEAD> <HEAD> <BODY> <%
use strict;
use diagnostics;
use Apache::Htpasswd;
my ($ht) = new Apache::Htpasswd(".htpasswd");
$ht->htpasswd("mans", "lolo");
printf("OK\n") if ( $ht->htCheckPassword("mans", "lolo") );
printf("CryptApache::htpasswd: %s\n<BR>", $ht->CryptPasswd("lolo", "cz"));
printf("CryptSystem : %s\n", crypt("lolo", "cz") );
1;
%> </BODY> </HTML>
gyptis:/home/gyptis/public-html# apachectl restart
/usr/sbin/apachectl restart: httpd restarted
On Mozilla -> http://www.gyptis.org/t.asp
CryptApache::htpasswd: czniFbApQaldY
CryptSystem : czniFbApQaldY
* END * END * END * END * END * END * END * END *
it is me which must document me, or do you think of a bug?
Thank you for your contributions!
bye bye
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]