RE: [PHP] problems with md5()
| From: | jdavis | Date: | Thu, 08 Apr 2004 05:06:10 +0000 |
| Subject: | RE: [PHP] problems with md5() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182786@lists.php.net to get a copy of this message | ||
On Wed, 2004-04-07 at 22:59, Chris wrote:
> The second, longer, one is the correct one.
>
> It looks like the column you've got the password stored in is too small, it
> must be 32 characters long
>
> Chris
>
On Wed, 2004-04-07 at 22:57, Jason Wong wrote:
>md5() returns a 32 character string so whatever is stored in your DB is
>obviously truncated. Make sure the field holding the password is of
>sufficient size/length.
>--
>Jason Wong -> Gremlins Associates -> www.gremlins.biz
>Open Source Software Systems Integrators
>* Web Design & Hosting * Internet & Intranet Applications Development *
thank you both so much , that was exactly the problem :)
thanks,
jd