欢迎光临! 登录
  • 设置菜单

志博日记

我的互联网笔记

×
  • 网站首页
  • 前端知识
    • html
    • css
    • javascript
    • jquery
    • vue
    • electron
    • uni-app
    • android
  • 后端知识
    • php
    • mysql
    • thinkphp
  • 主流cms
    • dedecms
    • wordpress
    • phpcms
    • ecshop
  • 微信开发
    • 公众号开发
    • 小程序开发
  • 网站建设
    • 域名
    • 虚拟主机
    • 服务器
    • linux运维
    • SSL证书
    • 企业邮箱
  • 网站模板
  • 网站插件
首页后端知识thinkphp文章
php将服务器上的图片上传到另一台服务器上 thinkphp

php将服务器上的图片上传到另一台服务器上

另一台服务器上有一个上传的接口:http://www.zhiboblog.com/upload,现在我们将本服务器上的图片上传到这个接口 代码如下:
2022年02月23日  阅读 664 views 发表评论
阅读全文
thinkphp如何使用rabbitmq消息队列 thinkphp

thinkphp如何使用rabbitmq消息队列

1.服务器上安装rabbitmq centos7如何安装rabbitmq 2.进入thinkphp项目目录下,使用composer安装php-amqplib库 co...
2021年08月21日  阅读 2,202 views 发表评论
阅读全文
thinkphp启动workerman,报错:Class 'think\Console' not found thinkphp

thinkphp启动workerman,报错:Class ‘think\Console’ not found

thinkphp启动workerman,报错:Class 'think\Console' not found 如何解决呢? 很简单,只要找到/vendor/topt...
2021年08月14日  阅读 1,360 views 发表评论
阅读全文
thinkphp设置404页面的方法,thinkphp如何设置404页面 thinkphp

thinkphp设置404页面的方法,thinkphp如何设置404页面

thinkphp设置404页面的方法如下: 打开config目录下面的app.php,在里面加上下面这行代码 'http_exception_template' =...
2021年05月15日  阅读 1,595 views 发表评论
阅读全文
thinkphp如何使用sendcloud发送邮件 thinkphp

thinkphp如何使用sendcloud发送邮件

首先注册一个sendcloud账号,就会有一个API_USER和一个API_KEY 然后根据sendcloud的api接口就可以进行对接了。
2020年08月04日  阅读 1,416 views 发表评论
阅读全文
thinkphp如何使用phpmailer发送邮件 thinkphp

thinkphp如何使用phpmailer发送邮件

首先使用composer安装phpmailer composer require phpmailer/phpmailer 然后就可以在thinkphp项目中使用ph...
2020年08月04日  阅读 1,383 views 发表评论
阅读全文
thinkphp如何对接阿里云邮件推送服务 thinkphp

thinkphp如何对接阿里云邮件推送服务

一、thinkphp项目中使用阿里云邮件推送服务 首先下载阿里云邮件推送sdk 下载地址:http://aliyundm.oss-cn-hangzhou.aliyu...
2020年08月04日  阅读 1,677 views 发表评论
阅读全文
thinkphp如何实现单点登录,一个账号只能在一个地方登录 thinkphp

thinkphp如何实现单点登录,一个账号只能在一个地方登录

首先需要在用户表中建两个字段,session_id和logintime,session_id存用户当前登录的session_id,logintime存最后一次登录的...
2020年06月13日  阅读 2,229 views 发表评论
阅读全文
thinkphp5.1运行workerman出现Cannot use Workerman\Worker as Worker because the name is already in use错误 thinkphp

thinkphp5.1运行workerman出现Cannot use Workerman\Worker as Worker because the name is already in use错误

这是因为命名空间冲突导致的错误。 修改方法: 1.找到文件: \vendor\topthink\think-worker\src\command\Server.ph...
2020年05月15日  阅读 1,600 views 发表评论
阅读全文
thinkphp如何对接阿里云短信新版sdk thinkphp

thinkphp如何对接阿里云短信新版sdk

首先下载阿里云新版sdk 进入到项目根目录下,使用composer下载阿里云短信新版sdk composer require alibabacloud/client...
2020年04月30日  阅读 1,873 views 发表评论
阅读全文

文章导航

第 1 页 第 2 页
Copyright ©  志博日记  版权所有. 赣ICP备17014450号-2
用户登录
  忘记密码?
  • 文章目录
  • 繁
  • 微信

    在线咨询