Common文件下创建了Common.php 里面有个
function cut($file,$from,$end){
$message=explode($from,$file);
$message=explode($end,$message[1]);
return $message[0];
}
函数
然后在CommAction.class.php使用 cut
在本地测试时候可以
上传到服务器就提示
Call to undefined function cut() in /data/home/blu007046/htdocs/home/Lib/Action/CommAction.class.php on line 79
Call to undefined function cut()
求大家帮帮忙 怎么办
最佳答案