id=request.QueryString("id")
exec="select * from list where piccatid="&id&" order by id desc"
exec="select * from list where piccatid="&id&" order by id desc"
这个就是没有对id进行限制
改成
id=clng(request.QueryString("id"))'这样就行了
exec="select * from list where piccatid="&id&" order by id desc"
exec="select * from list where piccatid="&id&" order by id desc"
原来的
http://www.cuku.net/sm/products.asp这个页
作者:Else 's Blog
地址:http://www.aixq.com/post/447/
版权所有。转载时必须链接形式注明作者和原始出处及本声明!
中查看更多“今天在改网站的时候,发现原来的代码中有一个错误”相关内容
中查看更多“今天在改网站的时候,发现原来的代码中有一个错误”相关内容
中查看更多“今天在改网站的时候,发现原来的代码中有一个错误”相关内容
中查看更多“今天在改网站的时候,发现原来的代码中有一个错误”相关内容
中查看更多“今天在改网站的时候,发现原来的代码中有一个错误”相关内容
中查看更多“今天在改网站的时候,发现原来的代码中有一个错误”相关内容最后编辑: Else 编辑于2006/09/08 21:56
关于sql的批量处理(原)
网站cuku.net的iis日志!


2006/09/08 21:54 | by 
