【Asp】Asp HTML编码与解码 Asp转义字符

  • A+
所属分类:lcx

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
%>

文章来源于lcx.cc:【Asp】Asp HTML编码与解码 Asp转义字符

相关推荐: 科普:请问什么叫xss盲打?

请问什么叫xss盲打? khjian | 2013-11-02 13:27 xss小白,老听人讲xss盲打,是什么意思啊?大牛给科普一下呗,谢谢了 [原文地址] 相关内容: 1# 小胖子 (我承认,我爱过VIP,我仅仅是爱过,因为他死了。) | 2013-11…

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: