复制无法打开流:HTTP请求失败!在C:\ wamp64 \ www \中找不到HTTP / 1.1 404

时间:2018-12-10 14:07:19

标签: php

出现这些错误

  

警告:复制(http://169.239.217.19/form/UpLoadedFiles/1111.docx):   无法打开流:HTTP请求失败!找不到HTTP / 1.1 404   C:\ wamp64 \ www \

     

警告:复制(http://169.239.217.19/form/UpLoadedFiles/MIE表格   2016.pdf):打开流失败:HTTP请求失败! C:\ wamp64 \ www \

中的HTTP / 1.1 400错误请求

我的代码

  $serverdir = "http://169.239.217.19/form/UpLoadedFiles/";

    if (!file_exists($serverdir)) {
       mkdir($serverdir, 0775);
    }
               if (copy($serverdir.$file, $serverdir.$file)){
                    echo " <br> Files Copyed Successfully";
                    echo ": <br> ".$serverdir.$file; 
                    //if files you are moving are images you can print it from 
                    //new folder to be sure they are there 
                 }

0 个答案:

没有答案