note 30963 added to ref.mcrypt

From: Date: Fri, 04 Apr 2003 14:07:32 +0000
Subject: note 30963 added to ref.mcrypt
Groups: php.notes 
Request: Send a blank email to php-notes+get-46225@lists.php.net to get a copy of this message
I'm trying to use mcrypt on my winxp system, I downloaded libmcrypt.dll and php_mcrypt.dll and put them in appropriate dirs (php_mcrypt in extensions and libmcrypt in windows\system32) and enabled mcrypt.dll in php.ini, but when I try to crypt data with following code: $password = mcrypt_cbc(MCRYPT_TripleDES, "secret_key", serialize($password), MCRYPT_ENCRYPT); I get following error: Fatal error: Call to undefined function: mcrypt_cbc() in C:\My Documents\www\localization\admin\index.php on line 327. where did I make mistake? -- http://www.php.net/manual/en/ref.mcrypt.php http://master.php.net/manage/user-notes.php?action=edit+30963 http://master.php.net/manage/user-notes.php?action=delete+30963 http://master.php.net/manage/user-notes.php?action=reject+30963

« previous php.notes (#46225) next »