显示IP的代码换成这个就可以了:<%ipstr=mRs("books_ip")ipstr=split(ipstr,".",-1,1)ipstrout=ipstr(0)&"."&ipstr(1)&"."&ipstr(2)&".*"response.write ipstrout%>