tags:

views:

360

answers:

2

When I try to use this mcrypt_encrypt() function I am getting following error.

Fatal error: Call to undefined function mcrypt_encrypt() in C:\wamp\www\PHP_Kit\FORM_PHP\includes.php on line 307

Help Me.

A: 

You need to add the mcrypt module to your PHP installation. Refer to the PHP mcrypt manual here - http://in3.php.net/manual/en/mcrypt.setup.php

Crimson
+1  A: 

Make sure libmcrypt.dll and mcrypt.dll is in your path.

Also make sure you have the following line in php.ini:

extension=php_mcrypt.dll
Zed