Random Posts

Sunday, 16 July 2017

How to generate unique codes using php


$user_agent = $_SERVER['HTTP_USER_AGENT'];
$ua_hash = hash("sha256", $user_agent);
$md_hash = md5($user_agent);

echo $ua_hash."


";
echo $md_hash."


";
echo uniqid("Frauntraiz_", TRUE);



?>

0 comments:

Post a Comment

Good day precious one, We love you more than anything.