另一個和htmlspecialchars 很像的 htmlentities 函數並不適用中文,因為會連同中文字一起轉義。 用htmlentities 和htmlspecialchars 只能防止XSS攻擊,不能防止SQL隱碼 ...
確定! 回上一頁