If all you need is some PHP encryption and don't necessarily need the mcrypt
library, you can try cryptopp-php, which does pretty much the same thing. A
Windows DLL that was compiled for PHP 4.3.0 is available at

http://www.tutorbuddy.com/software/

It should work with PHP 4.3.1, too, as I don't think the PHP module API
changed between the two versions.

(I know, it's a shameless plug and I hate doing it, but it might help...)

J


Daniel Guerrier wrote:

> 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

Reply via email to