摘要: 可能是跨域问题,可以对比两个网址的curl参数,有一个缺少Referer: https://account.wps.cn/ 例如: curl ^"https://authserver.gdmu.edu.cn/authserver/login?service=https^%^3A^%^2F^%^2Fm 阅读全文
posted @ 2024-03-11 11:43 WilliamShaw 阅读(5) 评论(0) 推荐(0) 编辑
摘要: // 创建一个新 cURL 资源 $ch = curl_init(); // 设置URL和相应的选项 curl_setopt($ch, CURLOPT_URL, "http://localhost/test.php"); // 需要获取的 URL 地址,也可以在 curl_init() 初始化会话的 阅读全文
posted @ 2024-01-22 17:09 WilliamShaw 阅读(15) 评论(0) 推荐(0) 编辑
摘要: cmd 管理员模式运行 依次运行如下命令后再尝试更新 net stop wuauserv net Stop cryptSvc net Stop bits net Stop msiserver ren C:\Windows\SoftwareDistribution SDistribution.old 阅读全文
posted @ 2023-11-24 08:48 WilliamShaw 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 先试试: ini_set('memory_limit','4096M'); set_time_limit(0); 情况一:由于nginx默认的fastcgi进程响应缓冲区太小造成 这种情况下导致fastcgi进程被挂起,如果fastcgi服务队这个挂起处理不是很好的话,就可能提示“504 Gatew 阅读全文
posted @ 2023-11-17 14:33 WilliamShaw 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 管理员运行cmd slmgr /skms 10.108.19.208 slmgr -ato 阅读全文
posted @ 2023-10-26 11:41 WilliamShaw 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate] @="" "TargetGroup"="OA" "TAcceptTrustedPub 阅读全文
posted @ 2023-10-26 11:40 WilliamShaw 阅读(24) 评论(0) 推荐(0) 编辑
摘要: Can't connect to local MySQL server through socket '/tmp/mysql.sock' 删除配置文件后重启 service mysql restart root 31619 1 0 14:06 ? 00:00:00 /bin/sh /home/mys 阅读全文
posted @ 2023-10-25 14:42 WilliamShaw 阅读(10) 评论(0) 推荐(0) 编辑
摘要: ``` 宝塔安装欧拉openeular时报错:cat: /etc/redhat-release: No such file or directory cat /etc/openEuler-release vi /etc/redhat-release ``` ``` 当前主机名hostname为空无法 阅读全文
posted @ 2023-10-25 09:29 WilliamShaw 阅读(162) 评论(0) 推荐(0) 编辑
摘要: wps对接第一步 点击校验 获取code http://user.ms.nwnu.edu.cn/loginwps function loginwps() { $url = $_REQUEST['redirect_url']; header("Location:".$url."&state=345c4 阅读全文
posted @ 2023-10-23 16:31 WilliamShaw 阅读(101) 评论(0) 推荐(0) 编辑
摘要: NoAuthPrivilege 是没有授权,解决: https://openapi.wps.cn/view/company/authorize?app_id=AK20231021OGLXQL&scope=corp_contacts.read,corp_contacts.write,corp_cont 阅读全文
posted @ 2023-10-23 15:09 WilliamShaw 阅读(20) 评论(0) 推荐(0) 编辑