原创 fsockopen(使用)

https http 443 80 //signaure 加密方式 $signaure = sha1($token.$timestamp.$client_id.$nonceStr); $data['token'] = $t

原创 linux切換默認php版本(寶塔)

刪除 鏈接 rm -f /usr/bin/php ln -sf /www/server/php/71/bin/php /usr/bin/php 查看 ls -l /www/server/php/73/bin/php ls -l

原创 [微擎]多系統共用accesstoken

多系統共用accesstoken 當一個公衆號或者小程序接入多個系統時,由於微信接口的限制,會導致accesstoken調用次數超出有效範圍,故微擎系統提供了下面的接口,供其他系統調用。 URL 請求方式: GET http://

原创 微信公衆號{"errcode":41002,"errmsg":"appid missing"}

Array ( [appid] => wx4e1a7d31cef2c476 ) {“appid”:“wx4e1a7d31cef2c476”} 那爲什麼post提交還是沒有傳值給到微信服務器了,竟然原因是沒有json加密再傳過去。

原创 四種PHP異步執行的常用方式

1.使用Ajax 與 img 標記 2.使用popen 3.使用curl 4.使用fsockopen https://www.php.cn/php-weizijiaocheng-437634.html

原创 php excel導出下載

<?php global $_W, $_GPC; set_time_limit(0); header("Content-Type: application/vnd.ms-excel; charset=UTF-8"); head

原创 nginx配置站點(swoole)

# 本地調試模擬域名 server{ # gzip用來壓縮前端文件體積 gzip on; gzip_min_length 1024; gzip_buffers 4 16k; gzi

原创 centos 7 curl 編譯安裝

yum -y install curl wget https://github.com/curl/curl/releases/download/curl-7_63_0/curl-7.63.0.tar.xz tar xvJf cu

原创 判斷微信系統

// ***** ***** 後退跳轉 is_backward_link( "" ); // ----- ----- [ 後退跳轉 ] function is_backward_link( backw

原创 Redis遠程桌面鏈接工具

Redis Desktop Manager 2019 阿里雲 端口 寶塔端口 本地window cmd 遠程連接外網redis https://msd.misuland.com/pd/2884250171976188902

原创 微擎分享朋友圈(jssdk)

<script> // wx.config({debug:jssdkconfig.debug,appId:jssdkconfig.appId,timestamp:jssdkconfig.timestamp,nonceStr:js

原创 微擎代碼美化

https://tool.lu/php/

原创 aardio桌面軟件(獲取系統信息)

import console; console.log("程序開始執行"); var file = io.open(io._exedir+"result.txt","w"); f = io.popen("systeminfo"

原创 騰訊地圖位置

騰訊地圖位置 2 html <style type="text/css"> .ismap .maps { height: 380px; width: 550px; ove

原创 數據庫查詢的二維數組轉化成字符串

var all_daihao = ['https://mp.weixin.qq.com/s/Il8dsit','https://mp.weixin.qq.com/s/X'] ; PHP 將二維數組轉化成字符串 $sql2 =