Re: [PHP] SQL Password() function

2005-11-28 Thread David Grant
Ahmed Saad wrote: > On 11/26/05, Yaswanth Narvaneni <[EMAIL PROTECTED]> wrote: >> I 'dont' want to use something like select * from table where >> table.passwd=password($passwd); > > (IIRC. they broke backward compatibility in > version 5).. 4.1 :( Cheers, David Grant -- PHP General Mailing

Re: [PHP] SQL Password() function

2005-11-27 Thread Gustavo Narea
Hi. Ahmed Saad wrote: On 11/26/05, Yaswanth Narvaneni <[EMAIL PROTECTED]> wrote: I 'dont' want to use something like select * from table where table.passwd=password($passwd); Well, i think you better use a specific password hashing function rather than MySQL's password() 'cause it's implem

Re: [PHP] SQL Password() function

2005-11-27 Thread Ahmed Saad
On 11/26/05, Yaswanth Narvaneni <[EMAIL PROTECTED]> wrote: > I 'dont' want to use something like select * from table where > table.passwd=password($passwd); Well, i think you better use a specific password hashing function rather than MySQL's password() 'cause it's implementation is not consisten

[PHP] SQL Password() function

2005-11-26 Thread Yaswanth Narvaneni
Hi! Is there a function (or a code snippet) in PHP for mysql password() function? I 'dont' want to use something like select * from table where table.passwd=password($passwd); Is there any other alternate way to do it? Regards, Yaswanth -- "In theory there is no difference between theory and