您是否必须转义或调整textarea中的输出?
看来,如果我使用htmlproperties()对其进行正确处理,就会出现实际的&.字符替换。
您是否必须转义或调整textarea中的输出?
看来,如果我使用htmlproperties()对其进行正确处理,就会出现实际的&.字符替换。
收起
Yes, you need to sanitize. Use htmlspecialchars($str, ENT_QUOTES)
instead.
报告相同问题?