(步骤不分先后只要解决问题即可)
di一步:排除php虚拟主机文件写入权限问题(问题无法解决往下看)
第二步:文本编辑器(editplus)打开文件目录:/include/uploadsafe.inc.php(问题无法解决往下看) 查找:(大致在45行)
$imtypes = array ( "image/pjpeg", "image/jpeg", "image/gif", "image/png", "image/xpng", "image/wbmp", "image/bmp", |
$imgtypes = array ( "image/pjpeg", "image/jpeg", "image/gif", "image/png", "image/xpng", "image/wbmp", "image/bmp", |
注意:(修改完上传后更新缓存) 第三步:文本编辑器(editplus)打开文件目录:/include/uploadsafe.inc.php 查找:(大致在47行至48行)
$imtypes = array ( "image/pjpeg", "image/jpeg", "image/gif", "image/png", "image/xpng", "image/wbmp", "image/bmp", |
修改为:
$imtypes = array ( "image/pjpeg", "image/jpeg", "image/gif", "image/png", "image/xpng", "image/wbmp", "image/bmp",“image/jpg”, |
Pbootcms问题解决
请点击在线联系我们【点击咨询解决问题】 如果您有任何Pbootcms问题,我们将免费为您写解决教程!