LMLPHP后院

Chrome 不携带 Cookie 问题的曲线救国方法

B 网站的图片的情况概率为 0。那请问,这样的网站全球有几个,最大的网站 Google 就是啊,Google 这样做难道是给自己找麻烦?不明白缘由的,请看我另一篇文章 新版本 Chrome 浏览器 POST 请求不携带 Cookie 问题。这篇文章列举了 7 种情况,但是没有列举 script 是不是携带,测试发现 script 不携带。我为什么说这样做意义不大,首先一点就是上面说的,概率为 0。第二一...

使用PHP实现的最简洁快速的登录访问控制

hp.com'; $salt = 'lmlphp'; $token_name = 'lmlphp_token'; $input_name = 'lmlphp_passwd'; if (isset($_POST[$input_name]) && $_POST[$input_name] == $passwd) { setcookie($token_name, md5($passwd.$salt.$time)....

traffmonetizer 小鸡折腾记

rmission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=traffmonetizer%2Fcli&tag=arm64v8":...

reCAPTCHA3 配置

***************************************",{action:"submit"}).then(function(token) { ajax({ "method":"POST", "url":"", "data":{"a":"recaptcha","token":token}, "dataType":"json", "beforeSend": function(xhr){...

红米 AX6 解锁以及 Clash 折腾记录

迷你,我并没有按照前人的经验来安装管理 UI,发现整个也就大了几兆的空间,核心 Clash 程序几百KB,太完美了,并且能够自动的选择有用的节点。我主要参考了这个帖子,https://qust.me/post/hong-mi-ax6-jie-suo-ssh-an-zhuang-shi-yong-shellclash-jiao-cheng/,虽然帖子已经过时了,但是很有参考价值。帖子里面有另外一个帖子:ht...

如何通过服务端HTTP头解决前端跨域问题

d_header Access-Control-Allow-Headers X-Requested-With; add_header Access-Control-Allow-Methods GET,POST,OPTIONS; # ... }后端 PHP 处理方法示例:if ($env != 'online') { $origin = isset($_SERVER['HTTP_ORIGIN']) ? $_...

联合索引查询特别慢怎么办?

LL AUTO_INCREMENT, `userid` int(11) NOT NULL, `status` tinyint(3) NOT NULL DEFAULT 1 COMMENT '0 not post, 1 posted' PRIMARY KEY (`id`), KEY `userid_status` (`userid`,`status`) ) ENGINE=InnoDB AUTO_INCREME...

nginx client intended to send too large body

nginx 出现了报错日志,咋一看,就是 POST 了大数据,只能修改配置了,怎么设置,请看: 报错类似:2021/05/08 12:16:13 [error] 11798#11798: *28202901 client intended to send too large body: 1268248 bytes, client: , server: , request: "POST HTTP/1.1",...

使用Form Iframe Request取代Ajax技术和Jquery的Ajax方法

有个好的想法,如果所有的网站都不使用 Ajax 技术,或者不再为了使用比较成熟的 Ajax 方法而去加载 JQuery。写这篇文章不是说用 Ajax 不好,而是从另外一方面去想,如果我们把东西做的足够简单,或者在特殊情况下可以不使用 Ajax 技术来达到和 Ajax 一样的用户体验。其实,是可以实现的,那就是使用 Iframe。 之前看过一篇文章,有人说过 Google 的天才们发明了 HtmlFile...

安装Gvim解决Linux下Vim不能访问X11剪切板

and +perl +user_commands +cmdline_hist +jumplist +persistent_undo +vertsplit +cmdline_info +keymap +postscript +virtualedit +comments +langmap +printer +visual +conceal +libcall +profile +visualextra +cry...
2026-07-27 00:56:48 1785085008 0.028192