首页 > phpfans

php错误提示:Call-time pass-by-reference has been deprecated

今天在写引用时突然出现了Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of getimagesize(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer错误,后来才知道原因是此方法已不被赞成并在 PHP/Zend 未来的版本中很可能不再支持了

阅读全文

phpmyadmin配置文件现在需要绝密的短语密码

在使用phpmyadmin时我们可能会碰到phpmyadmin配置文件现在需要绝密的短语密码错误提示,配置如下:phpmyadmin/config.inc.php,代码如下:

如果你的phpmyadmin中没有config.inc.php 这个文件我们要找到 phpMyAdmin 文件中有一个文件"config.sample.inc.php",然后重命名为"config.inc.php"上传服务器,然后把:$cfg['blowfish_secret'] = ";或其它值即可.

阅读全文