// 数据库 $hostname="localhost"; $username="d30215"; $dbpassword="otc0mt"; $databasename="db_zhaocd_com"; $id=mysql_connect($hostname,$username,$dbpassword); $db=mysql_select_db($databasename,$id); $now_ip=$REMOTE_ADDR; $fenxi="select xipr,xip_rec from xip_rec where xip_rec='$now_ip'"; $fenxi_result=mysql_query($fenxi); $how=mysql_num_rows($fenxi_result); if($how==0) { $add_time=date("Y")."-".date("m")."-".date("d")." ".date("H").":".date("i").":".date("s"); $enter="insert into xip_rec(xip_rec,add_time) values('$now_ip','$add_time')"; mysql_query($enter); } ?>
该页无法显示 |
|
您要查看的页当前不可用。网站可能遇到技术问题,或者您需要调整浏览器设置。 | |
请尝试以下操作:
找不到服务器或发生 DNS 错误
|