본문 바로가기
php

phpspreadsheet filename empty 파일이름 빈 값

by 코닛 2024. 2. 13.

phpspreadsheet로 엑셀업로드를 구현 중에

파일이름이 빈값으로 넘어와서 도대체 왜 안뜨나 하면서

시스템 임시파일 저장경로까지 들어가서 파일권한이 없나 확인했는데

<form action="/excelUpload.php" id="excel_uploading" enctype="multipart/form-data" method="POST">
<input type="file" name="excelFileUp" id="excelFileUp" style="display: none;">
</form>

type이 file인 input에 name 안넣어줘서 그랬다... 잘 나온다

'php' 카테고리의 다른 글

php excel download autoload.php location  (1) 2024.01.29
composer phpspreadsheet 설치  (0) 2024.01.29