md5 and uniqid : md5 « Login Authentication « PHP






md5 and uniqid

<?
$id = md5(uniqid(rand()));
echo "$id";

?>
           
       








Related examples in the same category

1.Get uniqid
2.Use md5 function to encrypt text