我正在使用这个脚本,这个返回与我的 IP 地址相关的信息
<script language="Javascript" src="http://gd.geobytes.com/gd?after=-1&variables=GeobytesCountry,GeobytesCity,GeobytesRegion,GeobytesLatitude,GeobytesLongitude">
</script>
<script language="Javascript">
document.write("<p>Welcome to visitors from " + sGeobytesCity + ", " + sGeobytesCountry + ", " + sGeobytesRegion + ", " + sGeobytesLatitude + ", " + sGeobytesLongitude);
</script>
有什么方法可以在文件后面的代码(aspx.cs)中使用此脚本并将它们存储到某个变量中...
喜欢
protected void Page_Load(object sender, EventArgs e)
{
string city = sGeobytesCity;
}