(PHP 5 >= 5.2.11)
libxml_disable_entity_loader — Disable the ability to load external entities
Disable/enable the ability to load external entities.
Disable (TRUE) or enable (FALSE) libxml extensions (such as DOM, XMLWriter and XMLReader) to load external entities.
Returns the previous value.