PHP fgetss May 11, 2012 Pramod T P It returns line from file pointer and strip HTML tags Example <?php $fp = @fopen(“test.txt”, “r”); if ($fp) { while (($content = fgetss($fp, 4096)) !== false) { echo $content; } fclose($fp); } ?>