PHP 4.0 Bug #7214 Updated: crypt with only one parameter doesn't work.
| From: | bjoern at baer dot main dot de | Date: | Thu, 26 Oct 2000 11:36:35 +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-36062@lists.php.net to get a copy of this message | ||
ID: 7214
User Update by: bjoern@baer.main.de
Status: Open
Bug Type: *General Issues
Description: crypt with only one parameter doesn't work.
Does nobody use PHP4 with FreeBSD?
Previous Comments:
---------------------------------------------------------------------------
[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