
자꾸 저런 오류가 납니다.
php파일은
?>
$target_path = "files/";
$tmp_img = explode("." ,$_FILES['uploadedfile']['name']);
$img_name = $tmp_img[0]."_".date('Y-m-d_H_i_s').".".$tmp_img[1];
$target_path = $target_path . basename($img_name);
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
echo "The file ".$img_name." has been uploaded";
} else {
echo "There was an error uploading the file, please try again!";
echo $target_path;
}
?>
현재 이렇게 되어잇습니다. 아무리 찾아봐도 딱히 문제가 없는데 어디가 이상이 있는건지 모르겠습니다.
도와주세요 ㅠㅠ