原文地址:http://bbs.bc-cn.net/dispbbs.asp?boardid=10&replyid=183091&id=35119&page=1&skin=0&Star=1
我想取消或者设置下过滤的敏感字符,经过我刚才的试验,发现是过滤了一个'字符,下面是代码,请大家帮忙看看,怎么解决好,谢谢
<!--#include file="top.asp"--><%usertopview%>
<%if userflag5=0 then
response.redirect"ok.asp?action=flag"
end if%>
<table width="760" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td width="150" valign=top bgcolor=#efefef>
<!--==============-->
<!--#include file="left.asp"-->
<!--==============-->
</td>
<td width="600" valign=top>
<!--==============-->
<table width="500" border="0" cellspacing="0" cellpadding="0" align="center">
<tr><td height=25>您现在的位置是:管理中心 > 行业新闻</td></tr>
<tr>
<td>
<!--####################################-->
<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor=#6C94D1>
<tr>
<td height=25 bgcolor=#6C94D1> <font color=white>发布行业新闻</font></td>
</tr>
<tr>
<td bgcolor=#ffffff height=25>
<!--======-->
<table width="80%" border="0" cellspacing="0" cellpadding="0" align=center>
<form name="addform" method="post" action="xxnews_add_save.asp?action=add">
<tr>
<td height=30 align="center" colspan="2"><font color=#666666>带 * 为必填项</font></td>
</tr>
<tr>
<td width="21%" align=right height=30><font color=red>*</font>信息标题: </td>
<td width="79%"><input name="title" type="text" size="39" maxlength="20"> 20个汉字</td>
</tr>
<%if userflag35<>1 then%>
<tr>
<td height=30 colspan=2 align=center><textarea name="newss" style="height:220;width:450"></textarea></td>
</tr>
<%else%>
<tr>
<td height=30 colspan=2 align=center><INPUT type="hidden" name="newss" value=""><IFRAME ID="eWebEditor1" src="../oledit/ewebeditor.asp?id=newss&style=s_mini&action=yes" frameborder="0" scrolling="no" width="450" height="250"></IFRAME></td>
</tr>
<%end if%>
<tr>
<td width="21%" align=right height=30><font color=red>*</font>信息分类: </td>
<td width="79%"><select name="newssort">
<option value="">请选择...</option>
<%sql="select * from dlxf_xxnewssort order by dlxf_date desc"
set rs=server.createobject("ADODB.Recordset")
rs.open sql,conn,1,1
while not rs.eof%>
<option value="<%=rs("dlxf_id")%>"><%=rs("dlxf_newssort")%></option>
<%rs.movenext
wend
rs.Close()%>
</select></td>
</tr>
<tr>
<td width="21%" align=right height=30><font color=red>*</font>信息来源: </td>
<td width="79%"><input name="ly" type="text" size="30" maxlength="10" value="<%=session("coname")%>"></td>
</tr>
<tr>
<td width="21%" align=right height=30><font color=red>*</font>添加人: </td>
<td width="79%"><input name="addr" type="text" size="30" maxlength="10" value="<%=session("useradmin")%>"></td>
</tr>
<tr>
<td height=30 align="center" colspan="2"><input type="submit" name="Submit" value="提 交" class="input1"></td>
</tr>
</form>
</table>
<!--======-->
</td>
</tr>
</table>
<!--####################################-->
</td>
</tr>
<tr><td height=25></td></tr>
</table>
<!--==============-->
</td>
</tr>
</table>
<!--====== bottom ========-->
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" background="img/bottom_bg.gif">
<tr><td height=2 bgcolor=#6C94D1></td></tr>
<tr>
<td align="center" height=80><%=citybottom%></td>
</tr>
</table>
</body>
</html>