![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
unbeau
Dreamweaver
展开
-
PHP微信分享jssdk,前后端解决方案
提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档 文章目录 前言 一、pandas是什么? 二、使用步骤 1.引入库 2.读入数据 总结 前言 微信开发的解决方案,包括获取存储accesstoken、jsapiticket、signpackage等数据。 一、AccessToken、JsapiTicket怎么获取? 微信的接口需要使用Token验证,Token的字段名为AccessToken;AK可以通过Appid和APPSecret获取,接口为(..原创 2020-09-17 14:46:53 · 601 阅读 · 0 评论 -
PHP常用函数
//手机号隐藏中间四位 function yc_phone($str){ $str=$str; $resstr=substr_replace($str,'****',3,4); return $resstr; }原创 2020-08-13 14:16:37 · 129 阅读 · 0 评论 -
[php]长时间执行PHP,返回结果到前端&后台继续执行
//1、返回数据到前端 $rs = ['code' => 0, 'msg' => 'ok', 'data' => true]; set_time_limit(0); ob_end_clean(); header("Connection: close"); header("HTTP/1.1 200 OK"); header("Content-Type: application/json;charset=utf-8");// 如果前端要的是js.原创 2020-08-10 15:14:25 · 755 阅读 · 0 评论 -
【PHP】phpmailer 配合QQ邮箱发邮件和附件(附demo)
下载PHPmailer 1、通过 composer require phpmailer/phpmailer 下载 2、下载 demo 简单使用 <?php // Import PHPMailer classes into the global namespace // These must be at the top of your script, not inside a function...原创 2019-11-24 11:11:16 · 358 阅读 · 0 评论