福彩快3网站

  • <tr id='O7Z5qv'><strong id='O7Z5qv'></strong><small id='O7Z5qv'></small><button id='O7Z5qv'></button><li id='O7Z5qv'><noscript id='O7Z5qv'><big id='O7Z5qv'></big><dt id='O7Z5qv'></dt></noscript></li></tr><ol id='O7Z5qv'><option id='O7Z5qv'><table id='O7Z5qv'><blockquote id='O7Z5qv'><tbody id='O7Z5qv'></tbody></blockquote></table></option></ol><u id='O7Z5qv'></u><kbd id='O7Z5qv'><kbd id='O7Z5qv'></kbd></kbd>

    <code id='O7Z5qv'><strong id='O7Z5qv'></strong></code>

    <fieldset id='O7Z5qv'></fieldset>
          <span id='O7Z5qv'></span>

              <ins id='O7Z5qv'></ins>
              <acronym id='O7Z5qv'><em id='O7Z5qv'></em><td id='O7Z5qv'><div id='O7Z5qv'></div></td></acronym><address id='O7Z5qv'><big id='O7Z5qv'><big id='O7Z5qv'></big><legend id='O7Z5qv'></legend></big></address>

              <i id='O7Z5qv'><div id='O7Z5qv'><ins id='O7Z5qv'></ins></div></i>
              <i id='O7Z5qv'></i>
            1. <dl id='O7Z5qv'></dl>
              1. <blockquote id='O7Z5qv'><q id='O7Z5qv'><noscript id='O7Z5qv'></noscript><dt id='O7Z5qv'></dt></q></blockquote><noframes id='O7Z5qv'><i id='O7Z5qv'></i>

                在线帮助】文档

                让你轻松解决建站问题

                后台上传图片时显示'非法图像文件'

                        if( in_array($ext,array('gif','jpg','jpeg','bmp','png','swf'))) {
                            $info = getimagesize($file['tmp_name']);
                            if(empty($info) || ($ext == 'gif' && empty($info['bits']))){
                                $this->error = '非法图像文件';
                                return false;
                            }
                        }
                经过检〗查上传代码,出错的地方是获取不到上传的ぷ文件副本,也就是说服务器的上传临时文件目录应该没有权限,你可以通过php.ini 中的 upload_tmp_dir 设置这个目录并给与权限,即可。