note 14655 added to function.session-id.php

From: Date: Wed, 08 Aug 2001 09:01:10 +0000
Subject: note 14655 added to function.session-id.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16468@lists.php.net to get a copy of this message
This this a nice way to produce some a unique $sid: if (!isset($sid)) { srand((double)microtime()*1000000); $sid = md5(uniqid(rand())); } I hope I'll be useful to someone. Bye. http://www.php.net/manual/en/function.session-id.php

« previous php.notes (#16468) next »