logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

php获取跳转后的网址,使用curl获取URL多次跳转后的地址

方法1:$url = 'http://www.baidu.com/link?url=77I2GJqjJ4zBBpC8yDF8xDhiqDSn1JZjFWsHhEoSNd85PkV8Xil-rckpQ8_kjGKNNq';$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_NOBOD...

文章图片
#php#开发语言
php获取json中的内容

JSON:{"msg":{"auth":"Yes_auth","ddid":"1","payje":0.3,"payzt":"SUCCESS"}}如何得到payzt这个参数的值?求代码方法一:$jsonStr='{"msg":{"auth":"Yes_auth","ddid":"1","payje":0.3,"payzt":"SUCCESS"}}';$arr=json_d...

宝塔数据库无法重启,无法启动

宝塔面板启动Mysql数据库启动不起来,并且日志报:Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed。Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed,从详细错误日志里面发现创建log file创建失败。找到以后也是用 rm -rf ib_logfile* 进行删除。(该路径

#数据库#mysql
升级nextcloud时502、504错误,nginx错误recv() failed (104: Connection reset by peer) while reading respons

nginx错误代码:recv() failed (104: Connection reset by peer) while reading response header from upstream。参考https://www.cnblogs.com/newmiracle/p/11856413.html。php配置源文:request_terminate_timeout = 300改为0。

#nginx#运维#linux
调整调整backlog配置,解决nginx日志报错php-pool/php-fpm.sock failed (...) while connecting to upstream

报错:connect() to unix:/home/data/mystack/sites/www.888.com/php-pool/php-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream别人给的方法:nginx + php做服务,在高并发的时候会出现一些错误 c...

通过nginx或php禁止iframe

1、通过nginx,对chrome浏览器适用/etc/nginx/nginx.conf在http下添加 add_header Content-Security-Policy "frame-ancestors *.888.com";或者 add_header Content-Security-Policy "frame-ancestors *.888.com *.999.net";2、通...

nginx高并发系统限流特技-2

接上文的聊聊高并发系统限流特技-1原文来自开涛的博客,找不到第此原文链接了接入层限流接入层通常指请求流量的入口,该层的主要目的有:负载均衡、非法请求过滤、请求聚合、缓存、降级、限流、A/B测试、服务质量监控等等,可以参考笔者写的《使用Nginx+Lua(OpenResty)开发高性能Web应用》。对于Nginx接入层限流可以使用Nginx自带了两个模块: 连接数限流模块ngx_htt...

升级nextcloud时502、504错误,nginx错误recv() failed (104: Connection reset by peer) while reading respons

nginx错误代码:recv() failed (104: Connection reset by peer) while reading response header from upstream。参考https://www.cnblogs.com/newmiracle/p/11856413.html。php配置源文:request_terminate_timeout = 300改为0。

#nginx#运维#linux
帝国CMS数据字典

数据表名解释附加说明信息表:每个模型都有以下10个表phome_ecms_news_index新闻系统模型-索引表phome_ecms_news新闻系统模型-主表phome_ecms_news_data_1新闻系统模型-副表1副表可无限增加phome_ecms_news_check新闻系统模型-待审核主表phome_ecms_news_check_data新闻系统模型-待审核副表phome_ecm

    共 20 条
  • 1
  • 2
  • 请选择