PHP 4.0 Bug #7214 Updated: crypt with only one parameter doesn't work.
| From: | sniper@php.net | Date: | Fri, 03 Nov 2000 17:21:22 +0000 |
| Subject: | PHP 4.0 Bug #7214 Updated: crypt with only one parameter doesn't work. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36988@lists.php.net to get a copy of this message | ||
ID: 7214
Updated by: sniper
Reported By: bjoern@baer.main.de
Status: Closed
Bug Type: *General Issues
Assigned To:
Comments:
This should be fixed now in CVS.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-10-26 07:36:35] bjoern@baer.main.de
Does nobody use PHP4 with FreeBSD?
---------------------------------------------------------------------------
[2000-10-14 19:56:19] bjoern@baer.main.de
In my application, I use:
<?php
$pw = crypt($userpw);
?>
Considering to the manual, PHP should create a random salt on its own. But obviously it doesn't
because my application breaks and I get "this document contains no data". If I write:
<?php
$pw = crypt($userpw,"foo");
?>
everything works fine. :-(
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7214