This library is useful anytime you need an unique ID, e.g. in web forms. Each uniqID is generated only once, assigned with the IP address of the client, and cannot be used more than once. The library contains two functions:
The first one, getuniq(), generates an unique string (26 characters long), ready for using in the HIDDEN field in HTML FORM, i.e. in comment form.
The second one, called checkuniq(), takes the submitted uniqID as its parameter and returns 1, if the passed uniqID string is valid, or 0 if invalid. 'Valid uniqID' means it has been generated but not yet checked.
The library provides that the once used uniqID won't be generated again anytime in the future as so as anytime in the past.