![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
Asshead@493
这个作者很懒,什么都没留下…
展开
-
IT技术博客网站和社区交流平台
1.hello word 社区: https://www.helloworld.net/2. 在线工具网站 : https://tool.lu/3. json官网 : https://www.json.cn/4. 博客园社区 : https://www.cnblogs.com/5. 简书IT技术贴吧网址 : https://www.jianshu.com/techareas/backend6. JWT官网 : https://jwt.io/7. JQuery插件库 : https://www.原创 2021-10-21 11:48:35 · 246 阅读 · 0 评论 -
phpmailer 发送邮件
<?phpsession_start(); //session的开启在最开头ini_set('date.timezone','Asia/Shanghai');require_once("./email/src/PHPMailer.php"); require_once("./email/src/SMTP.php"); use PHPMailer\PHPMailer;function sendMail($to,$title,$content){ //实例化PHPMailer核心原创 2021-03-10 23:46:11 · 69 阅读 · 0 评论 -
php过滤文本内容+获取文本中图片
过滤文本内容 //获取此贴内容文字$content_01 = $item["content"];//从数据库获取富文本content$content_02 = htmlspecialchars_decode($content_01);//把一些预定义的 HTML 实体转换为字符$content_03 = str_replace(" ","",$content_02);//将空格替换成空$contents = strip_tags($content_03);//函数剥去字符串中的原创 2020-09-11 17:42:52 · 290 阅读 · 0 评论