PHP 4.0 Bug #7415: possible bug in crypt function

From: Date: Mon, 23 Oct 2000 19:49:17 +0000
Subject: PHP 4.0 Bug #7415: possible bug in crypt function
Groups: php.dev 
Request: Send a blank email to php-dev+get-35990@lists.php.net to get a copy of this message
From: design@worldsoft-unlimited.nl Operating system: linux 2.2.16 PHP version: 4.0.3pl1 PHP Bug Type: *Function Specific Bug description: possible bug in crypt function i use the script below to generate a user reference code and worked well for a couple of years. a few days ago my hostprovider upgraded to PHP-4.0.3pl1 and my script stopt working as it supposed to. <?php .... $today = date("Y-m-d",time()); $dateemail = $today ."-".$emailaddress; $code= crypt($dateemail); ... ?> when entering different value's for $emailaddress en using different dates the script generates the same code. can you tell what the problem is. -- Edit Bug report at: http://bugs.php.net/?id=7415&edit=1

« previous php.dev (#35990) next »