Re: .htpasswd and PayPal generated passwords

From: Date: Sun, 16 Feb 2003 03:54:38 +0000
Subject: Re: .htpasswd and PayPal generated passwords
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-135763@lists.php.net to get a copy of this message
Try http://www.php.net/md5. Use md5 to encrypt the password, then when you need to check from login just encrypt what is given, and see if this matches the md5 found in the database. - David "Rob Packer" <robert@nrc.net> wrote in message news:20030215160907.9109.qmail@pb1.pair.com... > I use PayPal to generate a username and password and then write them to > the .htpasswd file. If I were to switch to using a database (because > .htaccess seems to always prompt twice!) how would I perform the comparison > for the passwords? It would seem that everytime you generate an encrypted > password it's different. So how would you compare them? Also, does anyone > know what the encryption method used by PayPal is? > > Thanks for any help... > > Robert Packer > >

« previous php.general (#135763) next »