getfile_lib
Proto type
(string) getfile_lib (string path [, int size])
Description
특정 파일의 내용을 반환 한다.
Arguments
(string) path - file name or path
(int) size (optional)
지정한 값 만큼만 반환 한다. 지정하지 않았을 경우, 전체 파일 내용을 반환한다.
Example
<?php
$path = "./doc/example.txt";
$text = getfile_lib ($path,250);
?>
See also
Last updated
Was this helpful?