Skip to content

A PHP class, forked from http://code.google.com/p/unique-code-generator/, used to generate random codes, given a character set to choose from, code length, and number of codes to use. It uses a MySQL database to check and store the codes.

Notifications You must be signed in to change notification settings

bryangruneberg/PHP-unique-code-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

PHP-unique-code-generator

A PHP class, forked from http://code.google.com/p/unique-code-generator/, used to generate random codes, given a character set to choose from, code length, and number of codes to use. It uses a MySQL database to check and store the codes.

Original author: Darren Inwood, Chrometoaster New Media Ltd (lucidtone at gmail.com)

Original source taken from http://code.google.com/p/unique-code-generator/

Primary change is the inclusion of a write buffer that limits the number of calls to count() function. This may create some problems when duplicate codes are found, but this is acceptable for our requirements of creating a fuzzy total amount of cards.

About

A PHP class, forked from http://code.google.com/p/unique-code-generator/, used to generate random codes, given a character set to choose from, code length, and number of codes to use. It uses a MySQL database to check and store the codes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages