My server is running PHP 5.2.17
I'm getting errors from these lines of code within index.php
define(IVSIZE, mcrypt_get_iv_size(MCRYPT_CAST_256, MCRYPT_MODE_CFB));
define(RANDOM_ID, bin2hex(mcrypt_create_iv(IVSIZE, MCRYPT_DEV_RANDOM)));
define(RANDOM, openssl_digest(RANDOM_ID.$phprand , 'sha512'));
Sample Error:
PHP Notice: Use of undefined constant IVSIZE - assumed 'IVSIZE' in
PHP Notice: Use of undefined constant RANDOM_ID
Q: Would upgrading to PHP 5.3 resolve these errors?
Thanks.
My server is running PHP 5.2.17
I'm getting errors from these lines of code within index.php
define(IVSIZE, mcrypt_get_iv_size(MCRYPT_CAST_256, MCRYPT_MODE_CFB));
define(RANDOM_ID, bin2hex(mcrypt_create_iv(IVSIZE, MCRYPT_DEV_RANDOM)));
define(RANDOM, openssl_digest(RANDOM_ID.$phprand , 'sha512'));
Sample Error:
PHP Notice: Use of undefined constant IVSIZE - assumed 'IVSIZE' in
PHP Notice: Use of undefined constant RANDOM_ID
Q: Would upgrading to PHP 5.3 resolve these errors?
Thanks.