Manipulate large HTML text with PHP


Many times it is necessary to store a large section of HTML text for page use, such as user-customized headers and footers.
Script tags need to be removed to avoid executing malicious php code.
Convert "<"">" to ensure code integrity.