|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7214 crypt with only one parameter doesn't work.
Submitted: 2000-10-14 19:56 UTC Modified: 2000-11-03 12:21 UTC
From: bjoern at baer dot main dot de Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0 Latest CVS (14/10/2000) OS: FreeBSD 3.3
Private report: No CVE-ID: None
 [2000-10-14 19:56 UTC] bjoern at baer dot main dot de
In my application, I use:

   $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:

  $pw = crypt($userpw,"foo");

everything works fine. :-(


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-26 07:36 UTC] bjoern at baer dot main dot de
Does nobody use PHP4 with FreeBSD?
 [2000-11-03 12:21 UTC]
This should be fixed now in CVS.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 01 00:01:28 2024 UTC