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

admin 2021年4月3日19:01:43评论16 views字数 452阅读1分30秒阅读模式

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…

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2021年4月3日19:01:43
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   【Asp】Asp HTML编码与解码 Asp转义字符http://cn-sec.com/archives/319653.html

发表评论

匿名网友 填写信息