RE: [PHP] Hot to MD5 two values (Valu1+Valu2)
| From: | Jay Blanchard | Date: | Mon, 19 Jan 2004 18:41:42 +0000 |
| Subject: | RE: [PHP] Hot to MD5 two values (Valu1+Valu2) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-175068@lists.php.net to get a copy of this message | ||
[snip]
Can I use :
$md5 = md5($variable1 + $variable2);
Is it right to use that?
Notice : I don't want "&" I want to add the first value to the second
one(1=2=3).. then make them MD5...MD5(3) (For example)..
[/snip]
Have you tried it? Of courser if all else failed you could do ...
$myDog = $var1 + var2;
$md5 = md5($myDog);