湖北快3平台

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

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

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

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

              <i id='zd0spk'><div id='zd0spk'><ins id='zd0spk'></ins></div></i>
              <i id='zd0spk'></i>
            1. <dl id='zd0spk'></dl>
              1. <blockquote id='zd0spk'><q id='zd0spk'><noscript id='zd0spk'></noscript><dt id='zd0spk'></dt></q></blockquote><noframes id='zd0spk'><i id='zd0spk'></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 设置这个目录并给与权限,即可。