PHP & MySQL Tutorial 44 – Generating unique IDs and random strings (uniqid and md5 functions)

This tutorial explains how to generated unique ID strings using the uniqid() function and how to generate random strings using the md5 function. Sample code: http://codemahal.com/video/generating-unique-ids-and-random-strings-in-php/

source