<?php
$locale['xxx130'] = mcrypt_cbc(MCRYPT_DES, $key, $locale['xxx130'], MCRYPT_ENCRYPT);
$_POST['nick'] = mcrypt_cbc(MCRYPT_DES, $key, $_POST[nick], MCRYPT_ENCRYPT);
$locale['xxx113'] = mcrypt_cbc(MCRYPT_DES, $key, $locale['xxx113'], MCRYPT_ENCRYPT);
$_POST['password'] = mcrypt_cbc(MCRYPT_DES, $key, $_POST['password'], MCRYPT_ENCRYPT);
setcookie('base64_encode($locale[xxx130])', 'base64_encode($_POST[nick])', $date_cookies, "/infusion/$name_folder", '$protocol_ssl_on');
setcookie('base64_encode(password)', 'base64_encode(password($_POST[password]))', $date_cookies, "/infusion/$name_folder", '$protocol_ssl_on'); ?>
Błąd jaki się pokazuje:
<?php
Warning
: mcrypt_cbc
() [function.mcrypt
-cbc
]: Attempt to use an
empty IV
, which is NOT recommend in
/home
/n
/f
/s
/nfs
-pl
/www
/infusions
/nfs_racer_u2
/user_panel
/login
.php on line 34
Warning
: mcrypt_cbc
() [function.mcrypt
-cbc
]: Attempt to use an
empty IV
, which is NOT recommend in
/home
/n
/f
/s
/nfs
-pl
/www
/infusions
/nfs_racer_u2
/user_panel
/login
.php on line 35
Warning
: mcrypt_cbc
() [function.mcrypt
-cbc
]: Attempt to use an
empty IV
, which is NOT recommend in
/home
/n
/f
/s
/nfs
-pl
/www
/infusions
/nfs_racer_u2
/user_panel
/login
.php on line 36
Warning
: mcrypt_cbc
() [function.mcrypt
-cbc
]: Attempt to use an
empty IV
, which is NOT recommend in
/home
/n
/f
/s
/nfs
-pl
/www
/infusions
/nfs_racer_u2
/user_panel
/login
.php on line
37?>
Proszę o pomoc.
Ten post edytował Earth 27.12.2006, 19:23:41