Re: crypt question (search mail list)

From: jeff fitzmyers <fitz22(at)earthlink(dot)net>
To: SQL <pgsql-sql(at)postgresql(dot)org>
Subject: Re: crypt question (search mail list)
Date: 2002-04-11 02:04:43
Message-ID: 7DAA2ED6-4CF0-11D6-A097-0003938387F4@earthlink.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2002-04-11 02:10:07 Re: View INSERTs not returning OID in Postgres 7.2.1
Previous Message Keith Gray 2002-04-11 01:51:36 crypt question (search mail list)