- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 计算两个日期,相差了几天
$date1=date_create("2013-03-15");$date2=date_create("2013-12-12");$diff=date_diff($date1,$date2);
2016-12-21 15:24:30 319
转载 yii::邮件(配置,及使用)
1.在配置文件main-local.php components=>[]里面配置'mailer' => [ 'class' => 'yii\swiftmailer\Mailer', 'useFileTransport' =>false,//这句一定有,false发送邮件,true只是生成邮件在runtime文件夹下,不发邮件 'transport' => [
2016-12-19 10:51:37 528
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人