Today, I have nothing to do at home. I went online and read an article about finding a country based on the IP address. In fact, I used one for my work, but I don't know how to do it.
Next, I will share the translation
How to block network traffic in Linux based on country location
As a system administrator who maintains a Linux production server, you may encounter the following situations: You need to selectively block or allow network traffic to pass through
Php obtains all the information (such as the address, postal code, country, and latitude and longitude) of the specified IP address. Php obtains all the information (such as address, zip code, country, and latitude and longitude) of a specified
Summary
The IP database on the network is the most popular with the pure version, LUMAQQ also uses the pure version IP database as the basis of the IP query function. However, the document on its format is very small, and then finally found a
Pure qq ip database
Copy codeThe Code is as follows: using System;
Using System. Collections. Generic;
Using System. Text;
Using System. IO;
Using System. Web;
Using System. Configuration;
Namespace BLL{Public class IPLocationSearch{Private static
The pure version of IP data files can be used to optimize the query method, improve the format conversion efficiency, reduce the number of file reads, and quickly query IP addresses online. Greatly reduce the number of file reads, which should be
This article describes how to obtain all the information (such as the address, zip code, country, and latitude and longitude) of a specified IP address in php, it is very simple and practical to call an API to query visitor information,
This article
Reprinted from: http://www.cnblogs.com/efreer/archive/2008/12/12/1353410.html
Newest coral worm IP database http://update.cz88.net/soft/qqwry.rar
Microsoft Office Access 2003
Eiditplus
MS sql2005
1. Open showip.exe, which is included in the IP
Php obtains all information (such as address, zip code, country, and latitude and longitude) of a specified IP address.
This example describes how to obtain all the information (such as address, zip code, country, and latitude and longitude) of a
QQ IP Database of pure edition
Copy Code code as follows:
Using System;
Using System.Collections.Generic;
Using System.Text;
Using System.IO;
Using System.Web;
Using System.Configuration;
Namespace BLL
{
public class
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.