[已解决]批量修改内容里的连接地址,这样换不了,要怎么样换的?
[code] set rs=server.createobject("adodb.recordset")sql="select * from xw_zp order by x_zpid"
rs.open sql,conn,1,3
do while not rs.eof
ss=replace(rs("x_zpcontent"),"http://localhost:808", "http://192.168.1.168:808")
rs("x_zpcontent")=ss
rs.update
rs.movenext
loop
rs.close
set rs=nothing
conn.close
set conn=nothing
response.Write("ok")[/code]
看了这里
http://bbs.blueidea.com/thread-2868921-1-1.html
[[i] 本帖最后由 onepc 于 2008-7-4 14:37 编辑 [/i]]
页:
[1]