Mega Code Archive

 
Categories / Php / File Directory
 

Fgetss() strips all HTML and PHP tags from the file

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