摘要: $this emailConfig = array( 'protocol' = 'smtp', 'smtp_host' = 'ssl://smtp.qq.com', 'smtp_user' = 'xxxxxx@qq.com', 'smtp_pass' = 'xxxxxx', //邮箱授权码 'smt 阅读全文
posted @ 2019-05-24 10:47 经验源于积累 阅读(216) 评论(0) 推荐(0) 编辑
摘要: //Import System.dll //Import System.Core.dll //Import System.Data.dll using System; using System.Collections.Generic; using System.Linq; using System. 阅读全文
posted @ 2019-05-10 18:39 经验源于积累 阅读(1377) 评论(0) 推荐(0) 编辑
摘要: $filename = date ( 'YmdH' ) . ".zip"; // 生成文件 $zip = new \ZipArchive (); // 使用本类,linux需开启zlib,windows需取消php_zip.dll前的注释 if ($zip open ($filename ,\Zip 阅读全文
posted @ 2018-12-10 13:16 经验源于积累 阅读(228) 评论(0) 推荐(0) 编辑
摘要: UPDATE c_test SET =REPLACE( , ",合体", "") WHERE STATUS=0 AND isDeleted=0 阅读全文
posted @ 2018-11-06 10:14 经验源于积累 阅读(1496) 评论(0) 推荐(0) 编辑
摘要: GetFeedSubmissionResultSample.php 中的方法如下 $config = array ( 'ServiceURL' = $serviceUrl, 'ProxyHost' = null, 'ProxyPort' = 1, 'MaxErrorRetry' = 3, ); $s 阅读全文
posted @ 2018-10-31 19:25 经验源于积累 阅读(914) 评论(1) 推荐(0) 编辑
摘要: 报错 iconv_set_encoding(): Use of iconv.input_encoding is deprecated 把iconv_set_encoding('input_encoding', 'UTF 8'); iconv_set_encoding('output_encoding 阅读全文
posted @ 2018-10-29 14:05 经验源于积累 阅读(1367) 评论(0) 推荐(0) 编辑
摘要: SELECT keyWords FROM c_test WHERE LENGTH(keyWords)!=CHAR_LENGTH(keyWords) 阅读全文
posted @ 2018-10-22 15:45 经验源于积累 阅读(655) 评论(0) 推荐(0) 编辑
摘要: SELECT from c_test where startTime CURRENT_DATE 阅读全文
posted @ 2018-10-11 17:07 经验源于积累 阅读(7600) 评论(0) 推荐(0) 编辑
摘要: mysql 操作 SET FOREIGN_KEY_CHECKS=0; 设置外键无效 SET FOREIGN_KEY_CHECKS=1;设置外键有效 TRUNCATE TABLE 表名 清空表 我们需要给用户添加权限: 登录mysql,在mysql下输入如下命令: GRANT ALL PRIVILEG 阅读全文
posted @ 2018-07-20 13:49 经验源于积累 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 针对火狐浏览器的CSS Hack: @ moz document url prefix() { .selector { attribute: value; }} 2 针对webkit内核及Opera浏览器的CSS Hack: @media all and (min width:0){ .select 阅读全文
posted @ 2018-06-06 17:47 经验源于积累 阅读(324) 评论(0) 推荐(0) 编辑