The second argument to copy() function cannot be a directory

后端 未结 7 789
温柔的废话
温柔的废话 2020-12-18 20:29

Anyone know why this:



        
7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-18 20:45

    Try adding the extension to the name file.

    $filename = $_FILES['userfile']['tmp_name'].".jpg";
    

提交回复
热议问题