파일첨부 mail()
-
php mail() 첨부파일 메일 보내기 2탄_이미지로 처리PHP 2023. 5. 30. 16:15
php mail() 첨부파일 메일 보내기 2탄_이미지로 처리하기 1탄_ input file 선택 시 이미지 미리보기 js 처리하기 https://raim-2.tistory.com/31 2탄_ php mail() 첨부파일 이미지 태그로 전송하기 https://raim-2.tistory.com/32 3탄_ php mail() 첨부파일 전송하기 https://raim-2.tistory.com/33 1탄에서는 form 형식 내 type이 file인 input에서 이미지 선택시 미리보기가 가능하도록 fileReader api와 file 속성을 이용해 js로 처리했다. 👉 이번에 구현하려 했던 부분 선택한 파일의 미리보기 이미지 보여주기 php mail() 사용해 첨부파일 메일 보내기 + 메일 본문에서 이미지 미리..
-
php mail() 첨부파일 메일 보내기 1탄_미리보기PHP 2023. 5. 30. 00:17
php mail() 사용해 첨부파일 메일 보내기 1탄_ input file 선택 시 이미지 미리보기 js 처리하기 https://raim-2.tistory.com/31 2탄_ php mail() 첨부파일 이미지 태그로 전송하기 https://raim-2.tistory.com/32 3탄_ php mail() 첨부파일 전송하기 https://raim-2.tistory.com/33 첫번째 포트폴리오 제작 시 수업에서 들었던대로 만든 php 파일로 문의하기 사이트를 만들었다. 당시에는 기간 안에 검사를 받아야 된다는 생각에 구현하고 싶었던 첨부파일 부분은 그냥 넘어갔다. 오류 나는 부분 고치면서 이 부분도 같이 구현해보려 했다가 개고생....🤦♀️ *내가 보기 위해 정리한 것임. 틀리거나 코드가 더러울 수 있..