fgetss() doesn't quite work right on HTML files with tags spanning more
than one line. I'm assuming that this is because it only takes the file one
line at a time. If you want to strip all HTML tags from a file, use
$file_text = strip_tags(join('',file($filename))) instead. (You may also
wish to split()/explode() it by "\n" after.)