|
6#
楼主 |
发表于 2011-5-12 09:24:36
|
只看该作者
第一个图片上传出错的问题,我在网上搜索到的结果是
Deprecated: Function eregi() is deprecated
原因是:php 5.30以上版本不再支持eregi()函数
找到
if (eregi("^(style|style_)(.*)*", $file))
修改为
if (preg_match("/^(style|style_)(.*)*/i", $file))
同理
set_magic_quotes_runtime(0);
修改为
ini_set("magic_quotes_runtime", 0);
Strict standards: Non-static method |
|