2019-03-07 手机号归属地查询API源码 手机号归属地查询API源码 返回值演示:{ "code": "200", "tel": "15029050105", "local": "归属地:陕西省西安市", "duan": "号码段:1502905", "type": "卡类型:陕西移动全球通卡", "yys": "运营商:中国移动", "bz": "通信标准:GSM (全球移动通信系统)" }接口源码:<?php $num = $_GET['num']; $result = file_get_contents("https://api.vvhan.com/api/phone?tel=" . $num); header("Content-Type:text/html;charset=UTF-8"); p... 韩小韩 2019-03-07 闲杂乱码,网站源码 1,376 阅读 4 评论 2019年03月07日 1,376 阅读 4 评论
2019-03-07 ICP备案查询API源码 ICP备案查询API源码 返回值演示:{ "code": "200", "主办名称": "厦门享联科技股份有限公司", "主办类型": "企业", "备案号码": "闽ICP备08105208号-1", "网站名称": "站长之家", "网站首页": "www.chinaz.com bbs.chinaz.com s.chinaz.com", "审核时间": "2019/1/30 0:00:00" }接口源码:<?php header("Content-Type:text/html;charset=UTF-8"); date_default_timezone_set("PRC"); $url = "www.han8.net"; $resul... 韩小韩 2019-03-07 闲杂乱码,网站源码 1,874 阅读 2 评论 2019年03月07日 1,874 阅读 2 评论
2019-03-07 城市天气查询API源码 城市天气查询API源码 返回值演示:{ "data": { "yesterday": { "date": "6日星期三", "high": "高温 16℃", "fx": "北风", "low": "低温 0℃", "fl": "<![CDATA[<3级]]>", "type": "晴" }, "city": "徐州", "forecast": [ { "date": "7日星期四", "high": "高温 11℃", ... 韩小韩 2019-03-07 闲杂乱码,网站源码 858 阅读 2 评论 2019年03月07日 858 阅读 2 评论
2019-03-07 免IDKEY加QQ群 免IDKEY加QQ群 返回值演示:{ "code": 200, "msg": "url": "http://shang.qq.com/wpa/qunwpa? idkey=a77400bf74e499dd53e64a96e64450a0c6a834515c44ab0680074d83bc7d2b16" }API接口源码:<?php header('Location:https://api.vvhan.com/api/qun?id=237909152'); ?> 韩小韩 2019-03-07 闲杂乱码,网站源码 903 阅读 0 评论 2019年03月07日 903 阅读 0 评论
2019-03-07 PHP超级Ping API接口 源码 PHP超级Ping API接口 源码 返回值演示:{ "code": "200", "host": "192.168.1.1", "ip": "192.168.1.1", "location": "局域网 对方和您在同一内部网", "ping_time_min": " 0.371ms", "ping_time_avg": "0.381ms", "ping_time_max": "0.392ms" }API源码:<?php /** *域名/IP Ping *2019-03-07 *NiceHanBlog *https://www.vvhan.com/pingapi.html */ header("Content-Type:text/html;charset=UTF-8"); $url = $... 韩小韩 2019-03-07 闲杂乱码,网站源码 2,824 阅读 0 评论 2019年03月07日 2,824 阅读 0 评论
2019-03-07 PHP生成随机字符 可做随机命名 随机卡密等 PHP生成随机字符 可做随机命名 随机卡密等 利用此函数生成随机文件名或强度较高的卡密等第一种:<?php function randStr($len = 6) { $chars = 'ABDEFGHJKLMNPQRSTVWXYabdefghijkmnpqrstvwxy23456789#%*'; mt_srand((float) microtime() * 1000000 * getmypid()); $password = ''; while (strlen($password) < $len) $password .= substr($chars, (mt_rand() % strlen($chars)), 1); return $password; } echo randStr(); ?>第二种:<?php header("Content-type:text/html;charset=utf-8"); function randStr($length = 6) { $password = ''; //将你... 韩小韩 2019-03-07 闲杂乱码,网站源码 1,087 阅读 0 评论 2019年03月07日 1,087 阅读 0 评论