generate a unique id for every hit at one time
Suppose many users uploading their pics at one time. So how could i
generate a unique id for every pic which could never match with other
generated id.
$uniqId = time().'_'.rand();
or should is use.
uniqid();