Mega Code Archive
Categories
/
Php
/
File Directory
Stripping all but a select few tags from an HTML file
$fh = fopen("data.txt", "r"); $allowable = "
"; while (!feof($fh)) : print fgetss($fh, 2048, $allowable); endwhile; fclose($fh); ?>