note 9510 added to md5

From: Date: Wed, 08 Nov 2000 09:01:33 +0000
Subject: note 9510 added to md5
Groups: php.notes 
Request: Send a blank email to php-notes+get-7493@lists.php.net to get a copy of this message
U can generate unique string with this way : srand((double)microtime()*1000000); $unique_str = md5(rand(0,9999999)); print $unique_str; It is good for password, cookies or Session_ID (if u're using PHP3) ... LexZEUS http://www.php.net/manual/function.md5.php

« previous php.notes (#7493) next »