From: jeff fitzmyers <fitz22@earthlink.net>
To: SQL <pgsql-sql@postgresql.org>
Subject: Re: crypt question (search mail list)
Date: Wed, 10 Apr 2002 19:04:43 -0700
Message-ID: <7DAA2ED6-4CF0-11D6-A097-0003938387F4@earthlink.net> (raw)
In-Reply-To: <3CB4EC28.2EA348B7@heart.com.au>
> There was a post about a month ago about crypt and md5
> fields being compared to text values...
This works for me:
- $formpassword is the password entered on a webpage
- $row_login[password] is the md5 saved password
} elseif(md5($formpassword) <> $row_login[password]) {
//
}
Jeff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: fitz22@earthlink.net
Subject: Re: crypt question (search mail list)
In-Reply-To: <7DAA2ED6-4CF0-11D6-A097-0003938387F4@earthlink.net>
References: <3CB4EC28.2EA348B7@heart.com.au> <7DAA2ED6-4CF0-11D6-A097-0003938387F4@earthlink.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox