fgetss

Example

 string fgetss ( resource $handle [, int $length [, string $allowable_tags ]] ) 

Description

Identical to fgets(), except that fgetss() attempts to strip any NUL bytes, HTML and PHP tags from the text it reads.

Return Values

Returns a string of up to length - 1 bytes read from the file pointed to by handle, with all HTML and PHP code stripped. If an error occurs, returns FALSE.