ID: 24052 Updated by: [EMAIL PROTECTED] Reported By: wkongucd at yahoo dot com -Status: Assigned +Status: Feedback Bug Type: mcrypt related Operating System: Windows 2000 PHP Version: 4.3.2 Assigned To: edink New Comment:
Are you sure you have used php_mcrypt.dll from php 4.3.2 distribution? Previous Comments: ------------------------------------------------------------------------ [2003-06-06 01:09:38] [EMAIL PROTECTED] Edin, another missing -D for win32 build? HAVE_MCRYPT_GENERIC_DEINIT (or it should be 'ifdef' in mcrypt.c ?? ------------------------------------------------------------------------ [2003-06-05 21:58:56] wkongucd at yahoo dot com I used the following code: <?php $key = "this is a secret key"; $input = "Let us meet at 9 o'clock at the secret place."; $td = mcrypt_module_open ('tripledes', '', 'ecb', ''); $iv = mcrypt_create_iv (mcrypt_enc_get_iv_size ($td), MCRYPT_RAND); mcrypt_generic_init ($td, $key, $iv); $encrypted_data = mcrypt_generic ($td, $input); mcrypt_generic_deinit ($td); mcrypt_module_close ($td); ?> In my php.ini file: extension=php_mcrypt.dll I use IIS 5.0 server and use SAPI filters. The error message I get is: Fatal error: Call to undefined function: mcrypt_generic_deinit() ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24052&edit=1