Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php]MCRYPT - błąd
Earth
post
Post #1





Grupa: Zarejestrowani
Postów: 169
Pomógł: 2
Dołączył: 6.12.2006

Ostrzeżenie: (0%)
-----


  1. <?php
  2. $key = base64_decode("NCiUmfiRByg=");
  3.  
  4. $locale['xxx130'] = mcrypt_cbc(MCRYPT_DES, $key, $locale['xxx130'], MCRYPT_ENCRYPT); 
  5. $_POST['nick'] = mcrypt_cbc(MCRYPT_DES, $key, $_POST[nick], MCRYPT_ENCRYPT);
  6. $locale['xxx113'] = mcrypt_cbc(MCRYPT_DES, $key, $locale['xxx113'], MCRYPT_ENCRYPT);
  7. $_POST['password'] = mcrypt_cbc(MCRYPT_DES, $key, $_POST['password'], MCRYPT_ENCRYPT);
  8.  
  9. setcookie('base64_encode($locale[xxx130])', 'base64_encode($_POST[nick])', $date_cookies, "/infusion/$name_folder", '$protocol_ssl_on');
  10.  
  11. setcookie('base64_encode(password)', 'base64_encode(password($_POST[password]))', $date_cookies, "/infusion/$name_folder", '$protocol_ssl_on');
  12. ?>




Błąd jaki się pokazuje:
  1. <?php
  2. 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
  3.  
  4. 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
  5.  
  6. 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
  7.  
  8. 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
  9. ?>


Proszę o pomoc.

Ten post edytował Earth 27.12.2006, 19:23:41
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 2.10.2025 - 22:25