htmlentities把HTML中可以轉(zhuǎn)義的內(nèi)容轉(zhuǎn)義成HTML Entity。html_entity_decode為htmlentities的decode函數(shù)。 4. mysql_real_escape_string mysql_real_escape_string會調(diào)用MySQL的庫函數(shù)mysql_real_escape_string,對(\x00), (\n), (\r), (), (‘), (\x1a)進行轉(zhuǎn)義,即在前面添加反斜杠(),預防SQL注入。注意你...
www.dbjr.com.cn/article/474...htm 2025-5-18