"att"라는 폴더에 파일이 업로드되고 저장되는 곳에 하나의 파일 필드가있는 양식을 만들었습니다. 이 코드는 실행되지만 파일이 폴더에 표시되지업로드 된 파일이 폴더에 저장되지 않았습니다.
if($_FILES['file'] != '')
{
//Settings
$allowed_extensions = array("jpg", "jpeg", "gif", "bmp", "pdf", "docx","xlsx");
echo $upload_folder = './att/'; //<-- this folder must be writeable by the script
$errors ='';
//Get the uploaded file information
echo $name_of_uploaded_file = basename($_FILES['file']['name']);
//get the file extension of the file
$type_of_uploaded_file = substr($name_of_uploaded_file,
strrpos($name_of_uploaded_file, '.') + 1);
$size_of_uploaded_file = $_FILES["file"]["size"];
:로 코드입니다. 코드의 문제점은 무엇입니까