0
if(!empty($_FILES["foto"]["tmp_name"])){

    move_uploaded_file($_FILES["foto"]["tmp_name"], BASE.'/uploads/thumbs/'.$_FILES["foto"]["name"]);
    $a['foto'] = '../uploads/thumbs/'.$_FILES["foto"]["name"];

}

似乎 $ _FILES ['foto'] ['tmp'] 没有返回任何值......

4

0 回答 0