Hetzelfde als fgets(), behalve dat fgetss probeert alle HTML en PHP tags te strippen van de tekst die hij leest.
Je kan de optionele derde parameter gebruiken om aan te geven welke tags niet gestript moeten worden.
Opmerking:
allowable_tags
is toegevoegd in PHP 3.0.13, PHP 4.0.0.
Opmerking: If you are having problems with PHP not recognizing the line endings when reading files either on or created by a Macintosh computer, you might want to enable the auto_detect_line_endings run-time configuration option.
Zie ook fgets(), fopen(), fsockopen(), popen(), en strip_tags().