Hi all,
In php manual it is given that to use encrytion
we need to download the file called libmcrypt-x.x.tar.gz.
So i have downloaded the file.
But when i run the program(source code)
<?php
$key = "this is a very secret key";
$input = "Let us meet at 9 o'clock at the secret place.";
$encrypted_data = mcrypt_ecb(MCRYPT_TripleDES, $key, $input, MCRYPT_ENCRYPT);
?>
it's giving an error message
Fatal error: Call to unsupported or undefined function mcrypt_ecb() in /home/httpd/html/encry.php3 on line 4.
In manual it's given as
You need to compile PHP with the --with-mcrypt
parameter to enable this extension.
so my problem is that i don't know how to compile the php file.
can any one give detailed help regarding this.
thanks in advance
bye
arvind