Randomly generate the IPv4 address corresponding to the province based on the province name.
QueryList.class.php // PHP采集类
phpQuery // QueryList类所需文件目录
IP.class.php // 主IP生成类
ip_segment.php // 采集生成的IPV4地址段
require 'IP.class.php';
$ip_address = IP::generate();
$ip_address = IP::generate('安徽');
IP::update();
The file contains provinces:
* 北京 * 广东 * 山东 * 浙江 * 江苏 * 上海 * 辽宁 * 四川 * 河南 * 湖北 * 福建 * 湖南 * 河北 * 重庆 * 山西 * 江西 * 陕西 * 安徽 * 黑龙江 * 广西 * 吉林 * 云南 * 天津 * 内蒙 * 新疆 * 甘肃 * 贵州 * 海南 * 宁夏 * 青海 * 西藏
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn