fgetss() strips all HTML and PHP tags from the file: string fgetss (int filepointer, int length [, string allowable_tags]) : fgetss « File Directory « PHP






fgetss() strips all HTML and PHP tags from the file: string fgetss (int filepointer, int length [, string allowable_tags])

 
<?
$fh = fopen("data.txt", "r");
while (!feof($fh)) :
   print fgetss($fh, 2048);
endwhile;
fclose($fh);
?>
  
  








Related examples in the same category

1.fgetss.php
2.Stripping all but a select few tags from an HTML file