Don't know if this is a question of (mis)configuration; I'm posting this
just in case someone had run into this before:

PHP's native md5() appears to return a different value from Linux's md5sum

[mavrekh ~]$ echo "blah" | md5sum
0d599f0ec05c3bda8c3b8a68c32a1b47  -

[mavrekh ~]$ php testmd5.php
X-Powered-By: PHP/4.0.3pl1
Content-type: text/html


[mavrekh ~]$ cat testmd5.php

I've tried it without the quotes too, or with single quotes. I wonder if
this is something that can be configured at compile time ?

I'm using PHP/4.0.3pl1 RedHat7.1

Thanks !


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to