(PHP 4, PHP 5, PHP 7)
Generate a unique ID
string uniqid ([ string $prefix = "" [, bool $more_entropy = false ]] )
Gets a prefixed unique identifier based on the current time in microseconds.
Parameters:
prefix
Can be useful, for instance, if you generate identifiers simultaneously on several hosts that might happen to generate the identifier at the same microsecond.