Gen. partnerAlgotech

PHP function fgetss()

Gets line from file pointer and strip HTML tags

|
September 11, 2019

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

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.