登录
记住用户名密码
恒富网
首页
CMS系统
Discuz
WEB前端
Html5
html
CSS3
CSS Hack
CSS
PHP+MySql
WordPress相关
微信接口
微信小程序
公众号
微信支付
企业微信
Linux
apache
centos
Git版本管理
Linux基本命令
linux配置与优化
Nginx
PHP
Redis
Supervisor
Swoole
windows
THINKPHP
开发者手册
Chat GPT / Open Ai
当前位置:
恒富网
»
Archives
PHP实现的微信公众号扫码模拟登录功能示例
PHP微信公众号扫码模拟登录功能 功能只是将:https://github.com/huanz/wechat-mp-hack 改成PHP实现罢了.之前有个休闲豆每日晨报订阅号每天定时群发消息,去年微信突然要求一定要扫码授权才能登录,FK,然后就放弃了,前几天看到早有人使用程序扫码登录,获取token,cookie自动群发了,闲着也是闲着,就将js改成php实现了登...
日期:
2023-05-15
浏览:
756次
评论:
0
次
阅读全文
mysql 自动添加创建时间、更新时间
1 描述 在mysql中,添加表中的列类型为时间类型(timestamp)时,可设置默认值 设置时间列的默认值为自动获取创建时间: default CURRENT_TIMESTAMP 设置时间列的默认值为自动获取更新时间: default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP 再添加个值不可为null ...
日期:
2023-05-12
浏览:
487次
评论:
0
次
阅读全文
php使用curl模拟post请求
$url="http://localhost/header_server.php"; $body = array("mobile"=>"13899999999", "username"=>"Nick"); $header = array("Content-Type:multipart/x-www-form-urlencoded", "token:test", &qu...
日期:
2023-05-12
浏览:
488次
评论:
0
次
阅读全文
PHP CURL POST
$push_api_url = "http://workerman.net:2121/"; $post_data = array( 'type' => 'publish', 'content' => '这个是推送的测试数据', 'to' =>&nbs...
日期:
2023-05-12
浏览:
269次
评论:
0
次
阅读全文
PHP 利用 curl 发送 post get del put patch 请求
因为需要在 php 开发中对接其它接口需要用 php curl 去对接其它接口 我把他们封装成函数 希望能对大家有所帮助。 这里面是封装好的会自动把 data 进行转成 json 格式,同时解码成 php 数组输出。 <?phpfunction geturl($url){ $headerArray =array("...
日期:
2023-05-12
浏览:
440次
评论:
0
次
阅读全文
layer.js 关闭弹窗触发刷新父页面数据
layer.open({ type: 2, title: '详情页', shadeClose: true, shade: 0.8, area: ['90%', '90%'], content: uri, //iframe的url end:function(){ var index = layer.load(1, { shade: [0.1,'#fff...
日期:
2023-05-12
浏览:
396次
评论:
0
次
阅读全文
如何自定义 layer.msg 的样式和时间
//eg1 layer.msg('只想弱弱提示'); //eg2 layer.msg('有表情地提示', {icon: 6}); //eg3 layer.msg('关闭后想做些什么', function(){ //do something }); //eg layer.msg('同上', { icon: 1, &nbs...
日期:
2023-05-12
浏览:
419次
评论:
0
次
阅读全文
PHP 异常处理 throw new exception
当异常被抛出时,其后的代码不会继续执行,PHP 会尝试查找匹配的 "catch" 代码块。 如果异常没有被捕获,而且又没用使用 set_exception_handler() 作相应的处理的话,那么将发生一个严重的错误(致命错误),并且输出 "Uncaught Exception" (未捕获异常)的错误消息。 Try, throw 和 catch(通常跑...
日期:
2023-05-12
浏览:
436次
评论:
0
次
阅读全文
php+layui实现图片上传与预览
端代码: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>upload模块快速使用</title> <link rel="stylesheet" href="/layui/css/...
日期:
2023-05-12
浏览:
440次
评论:
0
次
阅读全文
前端js如何设置延时刷新本页面
一、快速使用 // 1:刷新本页面 window.location.reload(); // 2:延时两秒刷新本页面,使用 setTimeout window.setTimeout(function () { window.location.relo...
日期:
2023-05-12
浏览:
244次
评论:
0
次
阅读全文
返回首页
上一页
19
20
21
22
23
24
25
26
27
28
29
...
下一页
最后一页
总共 924 篇文章
最新文章
php的api接口token简单实现
如何使用 PHP 进行 RESTful API
CentOS7 docker.repo 用阿里云Docker Y
CentOS7系统用LVM将/home目录合并到/
php接口api数据签名及验签
PHP如何实现数据加密、解密和传输,保障
PHP AES加解密示例
Ueditor百度富文本编辑器添加h5手机端预览
标签云
php代码(52)
PHP(47)
php函数(29)
php 代码(6)
WordPress(3)
python(3)
python代码(3)
mysql 分表(2)
微信公众号开发(2)
WordPress主题(2)
frp内网穿透(2)
Docker(2)
PhpStorm(2)
正则表达式(2)
PHP IDE(1)
Nginx安装及深度优化(1)
Nginx(1)
搭建vpn服务器(1)
wordpress优化(1)
开源工具(1)
MySQL数据库操作类(1)
php mysql PDO(1)
php蜘蛛统计(1)
PHP设计模式(1)
PDO数据库操作(1)
微信开发(1)
PHP参数调优(1)
小程序webSocket(1)
小程序发送心跳(1)
小程序全局socket(1)
API接口签名(1)
frp配置(1)
内网穿透(1)
nginx性能优化(1)
php性能优化(1)
Nginx参数调优(1)
Jetbrains(1)
网站性能(1)
优化服务器(1)
docker-compose部署MySQL8(1)
云和虚拟化(1)
linear-gradient(1)
CSS(1)
OpenVpn服务(1)
部署openvpn(1)
docker-compose(1)
生成静态(1)
apache(1)
sni(1)
apache2(1)
标签云
php mysql PDO
小程序webSocket
php函数
CSS
微信公众号开发
正则表达式
部署openvpn
PhpStorm
Nginx参数调优
WordPress
搭建vpn服务器
小程序发送心跳
PHP
frp配置
MySQL数据库操作类
PDO数据库操作
开源工具
API接口签名
Jetbrains
PHP IDE
内网穿透
网站性能
微信开发
优化服务器
frp内网穿透
php蜘蛛统计
PHP设计模式
Docker
小程序全局socket
nginx性能优化
php代码
linear-gradient
mysql 分表
python
docker-compose部署MySQL8
PHP参数调优
OpenVpn服务
Nginx
云和虚拟化
php性能优化
wordpress优化
php 代码
WordPress主题
Nginx安装及深度优化
python代码