Many developers use md5 or rand() function to generate the unique id in php, Which is actually not a good practice under some senario. The best technique is to use the pre given php function whic is uniqid()
abcphp.com is a social news website made for people to discover and share PHP related content from anywhere on the Internet, by submitting links and stories, and voting and commenting on submitted links and stories.