Asp HTML编码,Asp转义字符:
<%
Function EncodeHTML(str)
str = Replace(str, ">", ">")
str = Replace(str, "<", "<")
str = Replace(str, Chr(34), """)
EncodeHTML = str
End Function
%> |
Asp HTML解码,Asp转义字符:
<%
Function DecodeHTML(str)
str = Replace(str, ">", ">")
str = Replace(str, "<", "<")
str = Replace(str, """, Chr(34))
DecodeHTML = str
End Function
%> |
文章作者
Nuclear'Atk
上次更新
2010-09-16
许可协议
Nuclear'Atk(核攻击)网络安全实验室版权所有,转载请注明出处。