Create Unique ID Like Youtube Video URL ID

Author : Code With Mark

Easily learn to create unique id like youtube video url id

 

 

Just use the below function to create unique id


function GetUniqueID()
{
   $id = base_convert(microtime(false), 10, 36);

  return $id ;
}

 

Sharing is caring:            

You might also like

A PHP Function That Gets The Domain Name From A URL Or String

PHP Simple Database Class

How To Create A Secure Login System With PHP And MySQL

What Are Transactional Emails

Best Option For Hashing Your Passwords In PHP



Did you find this helpful?