Home > Back-end >  Myself to write a web site, on their server have the login function, after the user login access to
Myself to write a web site, on their server have the login function, after the user login access to

Time:04-26

Many sites have in my memory, it seems so it is not easy to realize why the Internet

CodePudding user response:


I just met in the project
Obtain IP is not difficult but city will take the three parties by its IP interface
I said estimated online is not easy because the
Throw in a common interface taobao free
http://ip.taobao.com/outGetIpInfo? IP=119.63.78.159 & amp; The accessKey=alibaba - inc

{
"Data" : {
"Area" : ", "
"Country" : "Thailand,"
"Isp_id" : "xx",
"QueryIp" : "119.63.78.159,"
"City" : "Bangkok",
"IP" : "119.63.78.159,"
"Isp" : "XX",
"County", ", "
"Region_id" : "TH_1000,"
"Area_id" : ", "
"County_id" : null,
"Region" : "Bangkok",
"Country_id" : "TH",
"City_id" : "TH_1010
"},
Query "MSG" : "success",
"Code" : 0
}
  • Related