摘要: require_once dirname(__DIR__) . '/vendor/autoload.php';use PHPMailer\PHPMailer\PHPMailer;use PHPMailer\PHPMailer\Exception;require dirname(__DIR__) .' 阅读全文
posted @ 2020-04-07 10:58 s.octopus 阅读(173) 评论(0) 推荐(0)
摘要: 序列化中文时之所以乱码是因为.serialize()调用了encodeURLComponent方法将数据编码了 解决方法就是进行解码 原因:.serialize()自动调用了encodeURIComponent方法将数据编码了 解决方法:调用decodeURIComponent(XXX,true); 阅读全文
posted @ 2017-01-05 15:45 s.octopus 阅读(2400) 评论(0) 推荐(0)
摘要: //新建规格public function construction(){ $id = $_GET['id'];//dump($id);die; $this->assign('id', $id); if(IS_POST){ $admin_id = $_POST['admin_id']; $sta_n 阅读全文
posted @ 2017-01-04 10:26 s.octopus 阅读(2470) 评论(0) 推荐(0)