I'm trying to use the mcrypt function on winXP using
php 4.3.1 and IIS 5. First the dll would not load but
I got past that by placing the libmcrypt.dll in my
system32. Now it loads but when I try to use mcrypt I
get
Warning: mcrypt_encrypt(): Module initialization
failed in
E:\IIS\wwwroot\savehiphop\admin\access\encrypt.php on
line 6
I don't think it's the code, it's pretty simple.
$key = "longencrytionkey";
$text = "danny";
echo($text . "<br>");
$newtext = mcrypt_encrypt("MCRYPT_BLOWFISH",$key,
$text, "ecb");
echo($newtext);
How do I get mycryt extension to work properly on
windows?
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php