php-general Digest 24 Jan 2013 16:55:52 -0000 Issue 8102
Topics (messages 320098 through 320099):
Re: same php file, different day...worked 3-4 times in the past in the past
320098 by: Sebastian Krebs
openssl_encrypt, ecb and IV
320099 by: steffo76.gmx.de
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
2013/1/20 Fred Silsbee <fredsils...@yahoo.com>
> Fatal error: Call to undefined function mysqli__connect() in
> /var/www/html/log_book_MySQLnew_i.php on line 116
>
There is an underscore "_" to much: 'mysqli_connect()'
>
> phpinfo.php shows mysqli
>
> Additional .ini files parsed
>
> /etc/php.d/curl.ini,
> /etc/php.d/fileinfo.ini,
> /etc/php.d/json.ini,
> /etc/php.d/mysql.ini,
> /etc/php.d/mysqli.ini,
> /etc/php.d/pdo.ini,
> /etc/php.d/pdo_mysql.ini,
> /etc/php.d/pdo_sqlite.ini,
> /etc/php.d/phar.ini,
> /etc/php.d/sqlite3.ini,
> /etc/php.d/zip.ini
>
>
> maybe a mysqli.ini is required containing mysqli.so
>
> but
>
> [root@localhost php.d]# locate mysqli.so
> [root@localhostphp.d]#
> [root@localhost php.d]# locate mysqli
> /usr/bin/mysqlimport
> /usr/share/man/man1/mysqlimport.1.gz
> [root@localhost php.d]#
>
>
--
github.com/KingCrunch
--- End Message ---
--- Begin Message ---
Hi list,
I am having trouble with error messages saying
"Using an empty Initialization Vector (iv) is potentially insecure and not
recommended"
These messages turn up using horde which uses ecb. I don't know the inner
workings of php and openssl but if I understand correctly, there is no IV used
in ecb hence there should be no error message according to this:
http://svn.php.net/viewvc?view=revision&revision=304179
(I am running php version 5.3.20)
Does anybody have any idea why I am getting these errors ? I can reproduce them
using this code:
<?php
openssl_encrypt ("Hallo","bf-ecb","abcdef");
?>
Regards
Stephan
--- End Message ---