quite possibly you did not compile PHP with mcrypt
library support.
for linux distrib's, mcrypt is not default, you have
to specify ./configure --with-mcrypt to get mcrypt
functionality (i dont know whether it's included
by default with the win binary, but i doubt it)
do the phpinfo() thing and see if mcrypt is there.
> -----Original Message-----
> From: darion mapp [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 22, 2001 5:19 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Encryption Problem
>
>
> ok, so i have want to encrypt my user password in the mySQL Database and
> well that is not working but in addition to that when the user logges into
> the system i have to encrypt their password and compare the two encrypted
> passwords to see if they match. this is where my problem starts. I get the
> same error for both the registration process where the password is
> encrypted to be placed into the database and when the use logs in and the
> password is encrypted to be compared.
>
> The web browser errors to "Page cannot bbe displayed (IE)" and only when
> the line below is commented out does it work fine.
>
> HELP!!!! Project was due last week so i am pressed for time
>
> $txtPass = mcrypt_ecb(MCRYPT_BLOWFISH, $key, $txtPass, MCRYPT_ENCRYPT);
>
>
> Get 250 color business cards for FREE! at Lycos Mail
> http://mail.lycos.com/freemail/vistaprint_index.html
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]