update : 2015.11.03
php.shukuma.com검색:
|
fgetss(PHP 4, PHP 5, PHP 7) fgetss — Gets line from file pointer and strip HTML tags 설명
string fgetss
( resource
$handle
[, int $length
[, string $allowable_tags
]] )Identical to fgets(), except that fgetss() attempts to strip any NUL bytes, HTML and PHP tags from the text it reads. 인수
반환값
Returns a string of up to
If an error occurs, returns
Example #1 Reading a PHP file line-by-line
<?php 위 예제의 출력 예시: Welcome! Today is the of . Text outside of the HTML block. 주의
참고
|