Unique Identifier Script

Unique Identifier Script is use to generate a unique, random numeric identifier that use anybody cannot be easily guessed.

Demo :



Minimum No : Maximum No :  

Example :

Minimum No : 20 Maximum No : 200

Following code is used to generate Unique Identifier number if you need code to copy and use to your website.


<?php
  $minimum_id = 20;
  $maximum _id = 200;
  $id = md5(uniqid(rand($minimum_id,$maximum _id), true));
  echo $id;
?>

PHP's uniqid() function returns an alphanumeric string based on the current time in microseconds, suitable for use in any operation or transaction that is keyed on a unique alphanumeric string. Because the identifier is based on a time value, there is a very slight possibility of two identical identifiers being generated at the same instant; to reduce this possibility, add a random element to the procedure by combining the call to uniqid() with a call to rand() and md5().

Free Download Script :

If you need Unique Identifier Script click and download from following link.

Download




Content