1 개요[ | ]
- PHP file_put_contents()
PHP
Copy
int file_put_contents ( string $filename , mixed $data [, int $flags = 0 [, resource $context ]] )
PHP
Copy
file_put_contents("test.txt", "John Smith");
2 같이 보기[ | ]
- PHP fopen() - 파일 또는 URL 열기
- PHP fwrite() - 바이너리-안전 파일 쓰기
- PHP fclose() - 파일 닫기
- PHP file_get_contents() - 파일 전체 내용을 문자열로 읽기
- PHP stream_context_create() - 스트림 컨텍스트 생성
- 함수 file_put_contents()
3 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.