会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
样子2018
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
42
43
44
45
46
47
48
49
50
···
52
下一页
2019年4月26日
C/C++ 之数组排序
摘要: #include #include void array_sort(int *a, int len) { int i, j, tmp; for (i = 0; i a[j]) { tmp = a[i]; a[i] = a[j]; a[j] = tmp; ...
阅读全文
posted @ 2019-04-26 10:39 样子2018
阅读(2136)
评论(0)
推荐(0)
2019年4月24日
C/C++ 之dll注入
摘要: 利用dll注射工具进行执行runGo函数
阅读全文
posted @ 2019-04-24 22:24 样子2018
阅读(1019)
评论(0)
推荐(0)
PHP 之websocket实现聊天室功能
摘要: 一、功能界面 具体的详细代码:https://github.com/yangsphp/websocket-master/tree/master 二、具体代码实现 1、前端代码如下 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8
阅读全文
posted @ 2019-04-24 15:18 样子2018
阅读(7123)
评论(14)
推荐(0)
2019年4月23日
PHP 之ip查询接口
摘要: /** * @param $ip 待查询的ip * @return mixed */ function getIpAddressInfo($ip) { $ipurl = 'http://api.ip138.com/query/?ip=' . $ip . '&datatype=txt'; $ipheader = array('token:注册的token'); $ip...
阅读全文
posted @ 2019-04-23 10:31 样子2018
阅读(729)
评论(0)
推荐(0)
2019年4月22日
PHP 之ftp客户端类封装实现
摘要: initialize($config); } /** * 初始化数据 * @param array $config 配置文件数组 */ public function initialize(array $config = []) { $this->host = $config['host']; $th...
阅读全文
posted @ 2019-04-22 12:27 样子2018
阅读(621)
评论(0)
推荐(0)
2019年4月16日
微信小程序获取二维码并把logo替换为自己的头像
摘要: 效果图如下:
阅读全文
posted @ 2019-04-16 14:07 样子2018
阅读(7262)
评论(0)
推荐(0)
2019年4月5日
PHP 之simple_html_dom实现网页数据采集
摘要: 数组打印结果为 参考文档:https://github.com/yangsphp/simple_html_dom-master
阅读全文
posted @ 2019-04-05 23:21 样子2018
阅读(2694)
评论(0)
推荐(0)
2019年3月25日
PHP 之二位数组根据某个字段排序封装
摘要: /** * @param $array * @param $keys * @param string $sort * @return array */ function arraySort($array, $keys, $sort = 'asc') { $newArr = $valArr = arr
阅读全文
posted @ 2019-03-25 10:34 样子2018
阅读(273)
评论(0)
推荐(0)
2019年3月4日
Linux 之CentOS7使用firewalld打开关闭防火墙与端口
摘要: 一、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld 开机启用 :
阅读全文
posted @ 2019-03-04 16:05 样子2018
阅读(3395)
评论(0)
推荐(1)
2019年2月26日
GatewayWorker + LayIM实现即时聊天
摘要: 一、程序目录结构 二、代码展示 附LayIM开发文档:https://www.layui.com/doc/modules/layim.html 1、前端代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>w
阅读全文
posted @ 2019-02-26 09:06 样子2018
阅读(1510)
评论(0)
推荐(0)
上一页
1
···
42
43
44
45
46
47
48
49
50
···
52
下一页
公告