[PHP] mcrypt don't work.

2004-02-08 Thread francesco
Hi all, I have problem with mcrypt function. There is always an error that I don't know how to correct this. This is my code: $string = Text string; $key= My key; $encrypted = mcrypt_cfb(MCRYPT_RIJNDAEL-256, $key, $string, MCRYPT_ENCRYPT); echostringa cifrata= $encrypted; $key = My key; $string

Re: [PHP] mcrypt don't work.

2004-02-08 Thread Miguel J. Jiménez
Mmm this same problem happen to me also... I use Apache 1.3.29 for Win32 and PHP v4.3.4 ... I do not know why but mcrypt module failed to initialize [EMAIL PROTECTED] wrote: Hi all, I have problem with mcrypt function. There is always an error that I don't know how to correct this. This is

Re: [PHP] mcrypt don't work.

2004-02-08 Thread Adam Bregenzer
On Sun, 2004-02-08 at 05:18, [EMAIL PROTECTED] wrote: Hi all, I have problem with mcrypt function. There is always an error that I don't know how to correct this. This is my code: $string = Text string; $key= My key; $encrypted = mcrypt_cfb(MCRYPT_RIJNDAEL-256, $key, $string,

[PHP] mcrypt don't work.

2004-02-03 Thread francesco
Hi all, i've problem with mcrypt_cfb function. This is the code: $string = A simple text string; $key = My key; line 55: $encrypted = mcrypt_cfb(MCRYPT_IDEA, $key, $string, MCRYPT_ENCRYPT); $key = My key; line 59: $string = mcrypt_cfb(MCRYPT_IDEA, $key, $encrypted, MCRYPT_DECRYPT); I've

Re: [PHP] mcrypt don't work.

2004-02-03 Thread Jochem Maas
Francesco, mcrypt_ functions rely on a PHP extension, your syntax look ok, PHP is telling you that it could not load the required extension (module). the following page from the PHP manual tells more about what you need in order to use mcrypt_ functions:

Re: [PHP] mcrypt don't work.

2004-02-03 Thread Jas
Have you tried to check if PHP has been compiled with mcrypt? try this on a page ?php phpinfo(); ? Look for mcrypt directives, if not there you need to download it and compile it like so. http://mcrypt.sourceforge.net Get both the libmcrypt and mcrypt compressed archives from command prompt on