Re: php_mcrypt.dll
| From: | J Smith | Date: | Fri, 21 Feb 2003 22:36:24 +0000 |
| Subject: | Re: php_mcrypt.dll | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136566@lists.php.net to get a copy of this message | ||
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/