PHP Manual

PHP function fgetss()

2019-09-11T08:04:03.000Z

Obsah článku

Availability in PHP 4.0

Gets line from file pointer and strip HTML tags

Parameters

Parameter Data type Default value Note
$handle resource not
$length int null, Length of the data to be retrieved.
$allowable_tags string null

Return values

string

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.

Other resources

Official fgetss documentation

Jan Barášek   Více o autorovi

Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.

Rád vám pomůžu:

Související články

1.
251.

V jiných jazycích

Status:
All systems normal.
2025