本文介绍了根据ip地址查找用户loaction不起作用。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 在这种情况下我没有得到任何基于ipaddress的值。 < script language = JavaScript src = http://j.maxmind.com/app/geoip.js > < / script > < br > 国家/地区代码: < 脚本 语言 = JavaScript > document.write( geoip_country_code()); < / script > < br > 国家/地区名称: < script language = JavaScript > document.write(geoip_country_name()); < / script > < br > 城市: < script 语言 = JavaScript > document.write(geoip_city()); < / script > < br > 地区: < script language = JavaScript > document.write(geoip_region()); < / script > < br > 地区名称: < script language = JavaScript > document.write(geoip_region_name()); < / script > < br > 纬度: < script language = JavaScript > document.write(geoip_latitude()); < / script > < br > 经度: < script language = JavaScript > document.write(geoip_longitude()); < / script > < ; br > 邮政编码: < script language = JavaScript > document.write(geoip_postal_code()); < / script > 如果搜索js文件404错误即将到来。解决方案 请参阅 http://dev.maxmind.com/geoip/legacy/javascript/ [ ^ ]。 in this case iam not getting any values based on ipaddress.<script language="JavaScript" src="http://j.maxmind.com/app/geoip.js"></script><br>Country Code:<script language="JavaScript">document.write(geoip_country_code());</script><br>Country Name:<script language="JavaScript">document.write(geoip_country_name());</script><br>City:<script language="JavaScript">document.write(geoip_city());</script><br>Region:<script language="JavaScript">document.write(geoip_region());</script><br>Region Name:<script language="JavaScript">document.write(geoip_region_name());</script><br>Latitude:<script language="JavaScript">document.write(geoip_latitude());</script><br>Longitude:<script language="JavaScript">document.write(geoip_longitude());</script><br>Postal Code:<script language="JavaScript">document.write(geoip_postal_code());</script>if search js file 404 error coming. 解决方案 这篇关于根据ip地址查找用户loaction不起作用。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-05 15:48
查看更多