[horde] Still having problems logging in

Anthony Ryan Mattke tony at iphere.com
Tue Jan 29 13:30:09 PST 2002


So I made test.php with
<?md5("password");?>

and when I view it I get. 
99bf5d695b17e3977219d055ac21f364

in mysql I already have
+----------+----------------------------------+
| tonhe    | 99bf5d695b17e3977219d055ac21f364 |
+----------+----------------------------------+
1 row in set (0.04 sec)

So they are the same ??

What am I doing wrong still ??

Tony

-----Original Message-----
From: Anthony Ryan Mattke [mailto:tony at iphere.com] 
Sent: Tuesday, January 29, 2002 4:23 PM
To: horde at lists.horde.org
Subject: RE: [horde] Still having problems logging in

How do I use php's md5 ??

Thanks.. 

Ignore my message about how to do sql.. as you saw.. I kinda figured it
out on my own

tony

-----Original Message-----
From: Chuck Hagenbuch [mailto:chuck at horde.org] 
Sent: Tuesday, January 29, 2002 3:48 PM
To: horde at lists.horde.org
Subject: Re: [horde] Still having problems logging in

Quoting Anthony Ryan Mattke <tony at iphere.com>:

> insert into horde_users values ("tonhe", MD5("XXXXXX");

PHP's md5() isn't the same as MySQL's; you need to use PHP's.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"What was and what may be, lie, like children whose faces we cannot see,
in the
arms of silence. All we ever have is here, now." - Ursula K. Le Guin

-- 
Horde mailing list: http://horde.org/horde/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org


-- 
Horde mailing list: http://horde.org/horde/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org





More information about the horde mailing list