PHP3 Manual
PrevNext

uniqid

uniqid -- generate a unique id

Description

int uniqid(string prefix);

Uniqid() returns a prefixed unique identifier based on current time in microseconds. The 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. The prefix can be up to 114 characters long.


PrevHomeNext
usleepUpleak