首页
友链
壁纸
留言
今日热榜
更多
关于
时光
推荐
精品流量卡
Search
1
都二十多年了,你的梦为什么还没碎!
57,085 阅读
2
2022年5个好用的 BT/ 磁力链接下载工具推荐 |Windows 、安卓系统
37,342 阅读
3
nps内网穿透实现外网访问树莓派
32,421 阅读
4
实践利用宝塔建emlog个人博客-超详细【原创】
26,130 阅读
5
Typecho-Joe-Theme主题帮助文档
24,603 阅读
闲杂乱码
Python
网站源码
微信小程序
娱乐分享
Is相册
软件工具
登录
Search
标签搜索
PHP
HTML
API
Javascript
源码
JS
Vue
Github
CloudFlare
接口
函数
SQL
ASP.NET
MVC
EF
T4模板
后台管理
CDN
微信小程序
MAC
韩小韩
累计撰写
261
篇文章
累计收到
1,303
条评论
首页
栏目
闲杂乱码
Python
网站源码
微信小程序
娱乐分享
Is相册
软件工具
页面
友链
壁纸
留言
今日热榜
关于
时光
推荐
精品流量卡
搜索到
38
篇与
网站源码
的结果
2019-03-07
手机号归属地查询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"); print_r($result); if ($arr['code'] == 1) { } ?>
2019年03月07日
4,610 阅读
4 评论
1 点赞
2019-03-07
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"; $result = file_get_contents("https://api.vvhan.com/api/icp?url=" . $url); echo $result; ?>
2019年03月07日
5,352 阅读
2 评论
1 点赞
2019-03-07
城市天气查询API源码
返回值演示:{ "data": { "yesterday": { "date": "6日星期三", "high": "高温 16℃", "fx": "北风", "low": "低温 0℃", "fl": "<![CDATA[<3级]]>", "type": "晴" }, "city": "徐州", "forecast": [ { "date": "7日星期四", "high": "高温 11℃", "fengli": "<![CDATA[<3级]]>", "low": "低温 1℃", "fengxiang": "东北风", "type": "多云" }, { "date": "8日星期五", "high": "高温 13℃", "fengli": "<![CDATA[<3级]]>", "low": "低温 4℃", "fengxiang": "东南风", "type": "多云" }, { "date": "9日星期六", "high": "高温 14℃", "fengli": "<![CDATA[<3级]]>", "low": "低温 3℃", "fengxiang": "东北风", "type": "阴" }, { "date": "10日星期天", "high": "高温 13℃", "fengli": "<![CDATA[<3级]]>", "low": "低温 4℃", "fengxiang": "西北风", "type": "晴" }, { "date": "11日星期一", "high": "高温 14℃", "fengli": "<![CDATA[<3级]]>", "low": "低温 4℃", "fengxiang": "西北风", "type": "多云" } ], "ganmao": "将有一次强降温过程,天气寒冷,且空气湿度较大,极易发生感冒,请特别注意增加衣服保暖防寒。", "wendu": "11" }, "status": 1000, "desc": "OK" }接口源码:<?php header("Content-Type:text/html;charset=UTF-8"); $city = $_GET['city']; $result = file_get_contents("https://api.han8.net/api/weather?city=" . $city); echo $result; ?>
2019年03月07日
3,309 阅读
7 评论
3 点赞
2019-03-07
免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日
3,509 阅读
0 评论
0 点赞
2019-03-07
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 = $_GET['url']; $result = file_get_contents("http://api.vvhan.com/ping?host=".$url); echo $result; ?>
2019年03月07日
3,091 阅读
0 评论
2 点赞
2019-03-07
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 = ''; //将你想要的字符添加到下面字符串中,默认是数字0-9和26个英文字母 $chars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; $char_len = strlen($chars); for ($i = 0; $i < $length; $i++) { $loop = mt_rand(0, ($char_len - 1)); //将这个字符串当作一个数组,随机取出一个字符,并循环拼接成你需要的位数 $password .= $chars[$loop]; } return $password; } echo randStr(12); //随机生成一个12位数的密码 ?>
2019年03月07日
3,055 阅读
0 评论
1 点赞
1
...
4
5