<br>改进的htmlspecialchars<code class="prettyprint linenums lang-php">function hsc($text){<br> return preg_replace('/&((#(\d{3,5}|x[a-fA-F0-9]{4})|[a-zA-Z][a-z0-9]{2,5});)/', '&\\1',<br> str_replace(array('&', '"', '',' '), array('&', '"', '', ' '), $text));<br> }</code> <p class="da_word">AD:真正免费,域名+虚机+企业邮箱=0元 </p>