tags:

views:

20

answers:

1

It's so much nice to track a user file with a nice string like "JES9-99S" instead of file no 3992

Suppose at most we have 10MIL files, i need a uniqid generator algorithm that can generate unique id's with length of 7 or 8 characters.

+1  A: 

You could modify this to fit your needs:

ars
`You may want to remove vouwels (a, e, o, u, i) from $index as to avoid combinations that result in: 'penis' or other dirty words that could get your customers upset.` lol
steven_desu