"함수 unlink()"의 두 판 사이의 차이

11번째 줄: 11번째 줄:
[[분류: PHP]]
[[분류: PHP]]
{{참고|PHP unlink()}}
{{참고|PHP unlink()}}
<source lang='php'>
unlink('path/file.txt');
</source>
<source lang='php'>
<source lang='php'>
if( !unlink('path/file.txt') ) {
if( !unlink('path/file.txt') ) {

2018년 7월 3일 (화) 11:24 판

1 Node.js

2 Python

3 PHP

unlink('path/file.txt');
if( !unlink('path/file.txt') ) {
  echo "failed\n";
}
else {
  echo "success\n";
}

4 같이 보기

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