Re: [PHP-DB] Unix crypt

2001-03-16 Thread omar cromwell mercado


Salt is the first two characters in a DES-encrypted
password. It is used as a modifier to
regularly-encrypted passwords to avoid the same
encryptions for similar passwords. You must extract
the salt first for your reference password, then use
it as a salt to encrypt the password you want
compared.

Omar Mercado

--- Vanstaen Laurent [EMAIL PROTECTED] wrote:
 Yes I know that (I've read the doc :) ) but what is
 the salt exactly ??


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] BLOB in postgres

2001-03-09 Thread omar cromwell mercado

Hi php+postgres users,

How do I define a BLOB data type in postgres? My php
script gets binary data such as image and executables
and I want to store it into the database but I couldnt
find a BLOB data type in postgres. Any hints?

Thanks.

Omar 

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]