<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # 移動文件封裝方法 ``` //移動文件 public function update_img($auditPath,$imgName,$file_name='') { $str = 'quality_test'; //判斷該文件是否在quality_test目錄下,false則需要移動文件 if (!strpos($auditPath, $str)) //需要移動位置 { //找出上傳文件路徑中upload位置,使用substr截取 upload/109e656e55750311/083713e7bb77d098.png $path = substr($auditPath, strpos($auditPath, 'upload')); //舊文件相對目錄拼接 ./upload/716f878f26cafce1/bdacd35406f2a909.png $path = './' . $path; //判斷文件是否存在 if(!file_exists($path)){ return ['code'=>0,'info'=>'該文件不存在'.$path]; } //新文件目錄 $path_new = './upload/' . $str . '/' . $file_name . $imgName . '.png'; //使用php函數rename('舊路徑','新路徑')移動文件位置 rename($path, $path_new); return ['code'=>1,'info'=>$path_new]; } else { return ['code'=>1,'info'=>$auditPath]; } } ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看