PHP分片上传文件到又拍云对象存储 PHP分片上传文件到又拍云对象存储 Posted at June 2, 2020 Last edit June 2, 2020 xiebruce Comments 0 Comment42 Views0 Likes PHP分片上传文件到又拍云对象存储 Read More Read More
可能是全网最详细的PhpStorm+xdebug远程调试php代码的教程 可能是全网最详细的PhpStorm+xdebug远程调试php代码的教程 Posted at May 2, 2020 Last edit September 25, 2020 xiebruce Comments 3 comments159 Views0 Likes – 本地网站debug – 局域网远程(多人)debug – 外网远程debug(单人) – 命令行方式执行php时debug Read More Read More
解决php无法获取真实客户端IP的问题 解决php无法获取真实客户端IP的问题 Posted at January 4, 2019 Last edit October 10, 2020 xiebruce Comments 0 Comment259 Views0 Likes 获取不到的原因,是因为使用了代理服务器,比如常见的用nginx作为反代服务器,后面有多台服务器提供服务器,反代服务器作为负载均衡服务器,这种情况一般要用$_SERVER[‘HTTP_X_FORWARDED_FOR’]来获取客户端的地址。 Read More Read More