PHP 4.0 Bug #7415 Updated: possible bug in crypt function
| From: | sniper@php.net | Date: | Fri, 03 Nov 2000 17:22:25 +0000 |
| Subject: | PHP 4.0 Bug #7415 Updated: possible bug in crypt function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36989@lists.php.net to get a copy of this message | ||
ID: 7415
Updated by: sniper
Reported By: design@worldsoft-unlimited.nl
Status: Closed
Bug Type: *Function Specific
Assigned To:
Comments:
This should be fixed in CVS now.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-10-23 15:49:17] design@worldsoft-unlimited.nl
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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7415