<?php
   libxml_disable_entity_loader(true); 
?>

可以百度一下以上关键字:


xml的漏洞。在simplexml_load_string之前使用上面那句话。