
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 · 675 阅读 · 0 评论 -
PHP常用函数
//手机号隐藏中间四位function yc_phone($str){ $str=$str; $resstr=substr_replace($str,'****',3,4); return $resstr;}原创 2020-08-13 14:16:37 · 181 阅读 · 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 · 894 阅读 · 0 评论 -
【PHP】phpmailer 配合QQ邮箱发邮件和附件(附demo)
下载PHPmailer1、通过 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 · 416 阅读 · 0 评论