<?php
</br>$script=” 以下内容不显示:<script language=’javascript’>alert(‘cc’);</script>”;</br>
echo preg_replace(“/<script[^>].*?>.*?</script>/si”, “替换内容”, $script);
<?php
</br>$script=” 以下内容不显示:<script language=’javascript’>alert(‘cc’);</script>”;</br>
echo preg_replace(“/<script[^>].*?>.*?</script>/si”, “替换内容”, $script);