[PHP] file
·
Stack/PHP
1. 파일 내용 불러오기 file_get_contents('파일경로'); 파일에 내용을 반환 2. 파일 생성하기(내용 변경) file_put_contents(파일명, 내용); 파일에 새로운 내용을 넣기 3. 파일 삭제하기 unliknk('파일경로'); 4. 파일 이름 변경하기 rename(파일이름, 변경할이름); ex> rename('abc','green'); 5. 디렉토리 제어 scandir('파일경로') http://localhost/php/file/index.php 리빙페이지 write.php 전송 취소 write_process.php http://localhost/php/실습/index.php Blue BLOG 홈 글쓰기 등록 취소 홈 화면입니다 ~ 글 쓰시려면 위에 글쓰기 버튼 눌러주세용 ~ 즐..