ASP常用函数:HTMLDecode
%
Function HTMLDecode(sText)
Dim I
sText = Replace(sText, "" , Chr(38))
sText = Replace(sText, """", Chr(34))
sText = Replace(sText, "" , Chr(60))
sText = Replace(sText, ">" , Chr(62))
sText = Replace(sText, " ", Chr(32))
For I = 1 To 255
sText = Replace(sText, "#" I ";", Chr(I))
Next
HTMLDecode = sText
End Function
%>
您可能感兴趣的文章:- Javascript UrlDecode函数代码
- mysql仿oracle的decode效果查询
- PHP 小心urldecode引发的SQL注入漏洞
- php urlencode()与urldecode()函数字符编码原理详解
- Javascript生成json的函数代码(可以用php的json_decode解码)
- js中escape对应的C#解码函数 UrlDecode
- PHP json_decode函数详细解析
- SQL中 decode()函数简介
相关文章
- ASP常用函数:HTMLDecode
- % FunctionHTMLDecode(sText) DimI sText=Replace(sText,\"\",Chr(38)) sText=Replace(sText,\"\"\"\",Chr(34)) sText=Replace(sText,\"\",Chr(60)) sText=Replace(sText,\"\",Chr(62)) sText=Replace(sText,\"\",Chr(32)) ForI=1To255 sText=Replace(sText,\"#\"I\";\",Chr(I)ASP,常用,函数,HTMLDecode,ASP,...
- ASP常用函数:HTMLDecode
- % FunctionHTMLDecode(sText) DimI sText=Replace(sText,\"\",Chr(38)) sText=Replace(sText,\"\"\"\",Chr(34)) sText=Replace(sText,\"\",Chr(60)) sText=Replace(sText,\"\",Chr(62)) sText=Replace(sText,\"\",Chr(32)) ForI=1To255 sText=Replace(sText,\"#\"I\";\",Chr(I)ASP,常用,函数,HTMLDecode,ASP,...