php Curl类封装get/post请求
直接上代码,就是为了记录一下:php
Read more直接上代码,就是为了记录一下:php
Read more需求使用微信扫码并且关注公众号后实现网站登录。 思路分析1.使用公众号接口生成二维码。2.系统接收微信推送过来的事件(关注/扫码)。3.前端轮询二维码扫码状况4...
Read more问题描述使用浏览器打开网页,显示正常。使用PHP CURL 采集,返回的都是一些乱码方块。开头 isG[ ...
Read more以下为参数详解:a - "am" 或是 "pm"A - "AM" 或是 "PM"d - 几日,二位数字,若不足二位则前面补零; 如: "01" 至 "31"D ...
Read more业务需求要使用SqlServer数据库,网上查了很多资料,说起来也不是很难,本文做个整理,方便以后查阅。 一、php配置 我呢用的是php7.3的版本,框架是T...
Read more阿里云 Composer 全量镜像镜像地址:https://developer.aliyun.com/composer官方地址:https://develope...
Read more1.google开放api$urlToEncode="http://www.helloweba.com";generateQRfromGoogle($urlTo...
Read moreNGINX在Nginx低版本中,是不支持PATHINFO的,但是可以通过在Nginx.conf中配置转发规则实现location / { index i...
Read more关于 \r\n 的由来说到换行,大家都知道在在写程序时,提示语的结尾换行,在 Win 下 \r\n ...
Read more直接出代码$where[] = ['create_time', 'between time', [$start_time, $end_time]];或$wher...
Read more以前为了图安装快,把composer的源改成了国内的:composer config -g repo.packagist composer https://pa...
Read more如何获取用户的IP,这个需求简直是太常见了,像登录入口,注册入口,投票,日志记录,api接口中判断同一个ip单位时间内的请求数,可是怎么去获取用户的真实IP呢?...
Read morephp如何使用curl伪造IP来源的方法php如何使用curl伪造IP来源<?php$ch = curl_init();$url = "http://lo...
Read more图像压缩/** * 图片压缩类:通过缩放来压缩。如果要保持源图比例,把参数$percent保持为1即可。 * 即使原比例压缩,也可大幅度缩小。数码相机4M图片。...
Read more**在linux服务器部署thinkphp5的时候PHP报了这个错误**![](https://www.vsay.net/content/uploadfile/...
Read more中间遇到很多坑 不说了 直接上代码
Read more<?php$headers = array( //设置Referer 'Referer:http://www.gaituba.com/jupa...
Read more