uniqid(PHP 4, PHP 5) uniqid — Generate a unique ID Описание
string uniqid
([ string $prefix
[, bool $more_entropy
]] )
Gets a prefixed unique identifier based on the current time in microseconds. Список параметров
Возвращаемые значенияReturns the unique identifier, as a string. ПримерыIf you need a unique identifier or token and you intend to give out that token to the user via the network (i.e. session cookies), it is recommended that you use something along these lines: This will create a 32 character identifier (a 128 bit hex number) that is extremely difficult to predict. Пример #1 uniqid() Example
<?phpСписок изменений
|
|
|
| © 2009 Тест скорости интернета | Boont.Ru |