在thinkphp中调用 phpmailer 中 发送邮件 出现 SMTP connect() failed 在网上查了 可以能是依赖问题 openssl 之类的问题 但是我用的25端口 没有使用ssl smtp 经过调试发现 即时不需要ssl SMTPSecure 这个值...
编程技术
thinkphp 自动验证规则
[php] //自动验证 protected $_validate = array ( array('name', 'require', '姓名不能为空!', 1, '', 3), array('tel', 'require', '手机号不能为空!', 1, '', 3), array('password', 'require', '...
多功能搜索 搜索系统安装 小说 电影 磁力
环境:2h4g 60ssd 一、首先安装宝塔面板 [shell]yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh[/shell] 安装环境...
最新版本的Selenium 不再支持 phantomjs
最新开发使用python 对网页进行截图的时候 发现 最新版本的Selenium 不在对 phantomjs进行支持 解决方法 使用 Selenium 3.01版本 [shell] #将系统中的Selenium安装的版本删除 pip uninstall Selenium #安装...
ActiveForm的使用方法
ActiveForm要和Model一起使用 我想在你的控制器的action中,至少应该这么写: /*action*/ $model = new Comments(); //实例化 Comments model return $this->render('msg',['model'=>$model]); //将 commen...
PHP使用数组实现队列
PHP中将数组当做一个栈,主要是使用array_push()和array_pop()两个系统函数来完成。入栈主要是利用array_push()函数向第一个参数的数组尾部添加一个或多个元素,然后返回新数组的长度,示例如下: 而PHP中,将数...
OPENVPN一键安装
OPENVPN一键安装方法: [shell]wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh[/shell] 适用于Debian, Ubuntu 和 CentOS 。
客服系统流程图
关于开发 开源php客服系统 开发
php框架: yii2 前段框架:ace admin + layim websocke: workerman 数据库:mysql 进度:15%
Yii 配置中设置mysql端口号其实很简单,请看下面的代码
[php] 'db' => array( 'class' => 'CDbConnection', 'connectionString' => 'mysql:host=localhost;dbname=phpac', 'username' => 'root', 'password' => '123456', ), 这是修改后的Yii的mysql配...