crypt question (search mail list)

Поиск
Список
Период
Сортировка
От Keith Gray
Тема crypt question (search mail list)
Дата
Msg-id 3CB4EC28.2EA348B7@heart.com.au
обсуждение исходный текст
Ответы Re: crypt question (search mail list)  (jeff fitzmyers <fitz22@earthlink.net>)
Список pgsql-sql
There was a post about a month ago about crypt and md5
fields being compared to text values...
(Can I search the archive... google lists... are these
the same as what we see here?)

Using PostgreSQL MD5 stored 'userpasswd' field with PHP 
 if(data[userpasswd] == md5(trypassword))

is never true, even when I substr the first 16 characters.
They appear the same if I print them! 

Is this something to do with unicode?
...how do I compare a string value with a unicode string?

-- 
Keith Gray

Technical Development Manager
Heart Consulting Services P/L
mailto:keith@heart.com.au


В списке pgsql-sql по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Functions in Postgres
Следующее
От: jeff fitzmyers
Дата:
Сообщение: Re: crypt question (search mail list)