下面我们遇到这段代码,在php5.3以上版本,也会报错误。
$file_suffix = strtolower(array_pop(explode('.', $file_name)));
修改方法:
$fnarray=explode('.', $file_name); $file_suffix = strtolower(array_pop($fnarray));
这样大家就了解了吧,以后传参需要单独写好,不能一行写完了。
更多ECSHOP内容来自木庄网络博客
标签:ECSHOP
相关阅读 >>
国内一些常用php的cms的nginx服务器的伪静态规则整理
php错误allowed memory size of 67108864 bytes exhausted的3种解决办法
php实现的交通银行网银在线支付接口ECSHOP插件和使用例子
万网独享主机apache为ECSHOP商城添加404页面的方法详解
更多相关阅读请进入《ECSHOP》频道 >>