上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 49 下一页
摘要: 一、详解 二、例子 test.sh #!/bin/bash source ./stop.sh source ./stop_by.sh source ./start_by.sh nohup /www/server/php/54/bin/php ./Applications/Chat/start_reg 阅读全文
posted @ 2021-02-25 13:34 样子2018 阅读(663) 评论(0) 推荐(0) 编辑
摘要: 一、操作 1、将脚本移动到/etc/rc.d/init.d目录下 mv /usr/local/script/test.sh /etc/rc.d/init.d 2、增加脚本的可执行权限 chmod +x /etc/rc.d/init.d/test.sh 3、添加脚本到开机自动启动项目中 cd /etc 阅读全文
posted @ 2021-02-23 16:49 样子2018 阅读(1522) 评论(0) 推荐(0) 编辑
摘要: 一、代码 function ajax(options) { options = options || {}; //调用函数时如果options没有指定,就给它赋值{},一个空的Object options.type = (options.type || "GET").toUpperCase();// 阅读全文
posted @ 2021-02-01 16:19 样子2018 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 一、效果图 二、代码 1、客户端 <?php class SocketIO { public function send($host = null, $port = null, $action = "message", $data = null, $address = "/socket.io/?EI 阅读全文
posted @ 2021-01-27 13:38 样子2018 阅读(787) 评论(0) 推荐(0) 编辑
摘要: 注意:若小程序已接入文娱-视频插件,暂不需补充文娱-视频类目。 缺点:需要付费去广告、水印。 一、配置 具体文档点击上图详情 阅读全文
posted @ 2021-01-27 08:57 样子2018 阅读(787) 评论(0) 推荐(0) 编辑
摘要: 在公众号中发消息,转发到自定义客户端。 一、效果图 公众号 客户端 阅读全文
posted @ 2021-01-26 10:40 样子2018 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 一、命令 ps aux|grep xxx|xargs kill -9 批量杀死名称为xxx的进程 阅读全文
posted @ 2021-01-25 13:52 样子2018 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 1、页码代码 2、app.json配置 阅读全文
posted @ 2021-01-16 10:43 样子2018 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 一、效果图 二、代码 require_once '../../../common.inc.php'; require_once './wechat.class.php'; //微信接口封装 $options = include_once "./config.php"; //app、secret等配置 阅读全文
posted @ 2021-01-14 14:43 样子2018 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 一、效果图 二、代码 如果要传递多参数,可以将参数拼接后用以上方法。 阅读全文
posted @ 2021-01-08 13:14 样子2018 阅读(1201) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 49 下一页