흔히 볼수 있는 fopen에 대해 정확하게 알기위해 정리한다.
fopen : file 이나 URL을 열기위해 사용
resource fopen ( string $filename
, string $mode
[, bool $use_include_path
= false [, resource $context
]] )
사용은 이런 형식으로 사용가능
예 : $A = fopen("/home/download/hi.txt", "r");
'함수들' 카테고리의 다른 글
@file함수 (0) | 2018.01.04 |
---|---|
fwrite함수 (0) | 2018.01.04 |
ereg, eregi함수 (0) | 2018.01.02 |
MySQL limit함수 (0) | 2017.09.24 |
mysql if문 (0) | 2017.09.10 |