crypt() MD5 problem on PHP 4.2.3

From: Date: Mon, 24 Feb 2003 14:00:30 +0000
Subject: crypt() MD5 problem on PHP 4.2.3
Groups: php.general 
Request: Send a blank email to php-general+get-136897@lists.php.net to get a copy of this message
hi all, <?php echo '<pre>' . 'CRYPT_STD_DES ' . CRYPT_STD_DES . "\n" . 'CRYPT_EXT_DES ' . CRYPT_EXT_DES . "\n" . 'CRYPT_MD5 ' . CRYPT_MD5 . "\n" . 'CRYPT_BLOWFISH ' . CRYPT_BLOWFISH . '</pre>'; echo crypt('clear_pass', '$1$salt1234$'); ?> // outputs CRYPT_STD_DES 1 CRYPT_EXT_DES 0 CRYPT_MD5 1 CRYPT_BLOWFISH 0 $1WrhY7RKpNLM seems that crypt function uses DES instead of MD5 :(( configure output: ... checking for standard DES crypt... yes checking for extended DES crypt... no checking for MD5 crypt... yes checking for Blowfish crypt... no ... previous PHP version (4.2.2) on the same system worked fine. the same version of PHP (4.2.3) works fine on other computer (Slackware 8.1) any ideas? thanks, adu

« previous php.general (#136897) next »