Call us Toll-Free:
1-800-218-1525
Live ChatEmail us

 Sponsors

Generate a unique ID

Code Wizard, 12-30-2006



Script Note:
This will output a unique ID of some sort. If you run this script, please notice that all of the ID's will start with id. You can change this by changing the id in uniqid(change this--->id<---change that) to something else.

<?
$uniqueID = uniqid(id);
print("$uniqueID");
?>


Pretty easy. This script is good for order numbers or assigning ID numbers to authenticate users.
Enjoyed this post?

Subscribe Now to receive new posts via Email as soon as they come out.

 Comments
Post your comments












Note: No link spamming! If your message contains link/s, it will NOT be published on the site before manually approved by one of our moderators.



About Us  |  Contact us  |  Privacy Policy  |  Terms & Conditions