> This is not what I need.
> I'm not building a userbase to authenticate with.
>
> I'm holding a database of users and passwords that I need to keep.
> There is no authentication done against these user/password pairs.
>
> I don't want to keep the passwords in free text since if someone
> break
From: John Horton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 5:49 PM
To: Boaz Yahav; PHP General (E-mail)
Subject: RE: [PHP] PHP & PGP
calculate a hash of the pass the user enters and store that. When the user
enters a pass again to get the data, then hash this pass and se
Boaz:
On Wed, May 22, 2002 at 04:48:59PM +0100, John Horton wrote:
> calculate a hash of the pass the user enters and store that.
FYI, by "hash" he means using the md5() function.
Ciao!
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution
calculate a hash of the pass the user enters and store that. When the user
enters a pass again to get the data, then hash this pass and see if it
matches the stored hash. If it does , then send the user the data.
create a table that stores username, and hashed passwords for
authentication.
HTH
--
ive done this b4 but havn't got the scripts here they at home (can't
remember the exact command line, but from memory was a little fiddly), if
you have any problems send a email to [EMAIL PROTECTED] over the weekend
and i will gladly try and dig up an example for you.
regards
joseph
-Origin
Yes. Use backticks, system(), exec(), etc.
For help on command line w/ GnuPG, try "gpg --help".
I don't have examples, but there are probably some @ hotscripts.com
--
Looking for a parallel, three-dimensional explicit Eulerian grid code for
astrophysical magnetohydrodynamics? Of course you
"Pepe Lopez" <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I want to encrypt mails coming from my webform with pgp. Is it possible?
this hack might help you
http://alt-php-faq.org/#id65
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
possible? yes.
feasable? yes and no...
1) encrypting traffic from the user's browser to your
server is extremely impractical.
2) encrypting information on the server with PGP
is a whole lot easier... there are a bunch of
PHP -> PGP interface packages i've seen around,
so do some searching and se
class eZGPG
{
/*!
\static
Encrypt function
*/
function eZGPG( $plaintxt, $keyname, $wwwuser)
{
$this->keyname=$keyname;
if ( sizeof( $this->keyname ) == 0 )
$this->body = "WARNING: No Keys Specified";
$this->pcmd = "echo '$plaintxt' | ";
Yes, here's some code, adapt to your needs.
-Original Message-
From: Pepe Lopez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 10:06 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP & PGP
Hi there,
I want to encrypt mails coming from my webform with pgp. Is it possible?
regards,
It is possible, but I have not found any good tutorials on the subject.
There is one on Web Monkey at this address:
http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial1.html
All the commands were wrong for the PGP version (6.5) that was loaded on my
web server. I found that th
Hello Pepe,
Thursday, June 28, 2001, 6:05:48 PM, you wrote:
PL> I want to encrypt mails coming from my webform with pgp. Is it possible?
It is possible. Also, If you had been chosen GNUPG instead of PGP you
could use the class located at
http://phpclasses.upperdesign.com/browse.html/package/24
12 matches
Mail list logo