"PHP file put contents()"의 두 판 사이의 차이

(새 문서: ==개요== ;PHP file_put_contents() <source lang='php'> int file_put_contents ( string $filename , mixed $data [, int $flags = 0 [, resource $context ]] ) </source> <source lang='php'...)
 
잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 3개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{DISPLAYTITLE:PHP file_put_contents()}}
==개요==
==개요==
;PHP file_put_contents()
;PHP file_put_contents()
<source lang='php'>
<syntaxhighlight lang='php'>
int file_put_contents ( string $filename , mixed $data [, int $flags = 0 [, resource $context ]] )
int file_put_contents ( string $filename , mixed $data [, int $flags = 0 [, resource $context ]] )
</source>
</syntaxhighlight>
<source lang='php'>
<syntaxhighlight lang='php'>
file_put_contents("test.txt", "John Smith");
file_put_contents("test.txt", "John Smith");
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
16번째 줄: 17번째 줄:
* [[함수 file_put_contents()]]
* [[함수 file_put_contents()]]


==참고 자료==
==참고==
* http://php.net/manual/en/function.file-put-contents.php
* http://php.net/manual/en/function.file-put-contents.php


[[분류: PHP]]
[[분류: PHP 파일시스템 함수]]

2020년 11월 2일 (월) 02:57 기준 최신판

1 개요[ | ]

PHP file_put_contents()
int file_put_contents ( string $filename , mixed $data [, int $flags = 0 [, resource $context ]] )
file_put_contents("test.txt", "John Smith");

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}