php-general | 2001032
Date: 03/22/01
- Next message: ..s.c.o.t.t.. [gts]: "RE: [PHP] Printing MySQL into HTML Tables"
- Previous message: Maroufski: "[PHP] PHP/CGI Help"
- In reply to: darion mapp: "[PHP] Encryption Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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:godd_mapp <email protected>]
> Sent: Thursday, March 22, 2001 5:19 PM
> To: php-general <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: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: ..s.c.o.t.t.. [gts]: "RE: [PHP] Printing MySQL into HTML Tables"
- Previous message: Maroufski: "[PHP] PHP/CGI Help"
- In reply to: darion mapp: "[PHP] Encryption Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

