I can't run mcrypt_ecb() too.
My system is with libmcrypt-2.2.7, php-4.0.2 and apache-1.3.12.
While I run the following 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);
printf("\$encrypted_data is $encrypted_data\n");
?>
It returns the following Error:
Warning: Failed opening '/usr/local/httpd/htdocs/raymond/mcrypt_22.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
Had anyone solve this problem before? Thanks in advance!