摘要:
SHOW CREATE TABLE tp_web_log_all 阅读全文
摘要:
Application\Oa\Model\PublicModel.class.php 导出模板 阅读全文
摘要:
(1)strlen 获取字符串长度 (2)mb_strlen 使用方法: int mb_strlen ( string $str [, string $encoding ] )返回给定的字符串 string 的长度。encoding参数为字符编码。如果省略,则使用内部字符编码。 GBK编码的状态下 阅读全文
摘要:
//导出到csv public function exportCsvByIds($ids){ header("Content-type:text/html;charset=utf-8"); $license = M('license'); $where ="id in($ids) and status=1 "; //... 阅读全文
摘要:
/* * 文件上传 * @param $upload_path 文件上传路径 * @param $formpic 表单name属性名称 */ private function doUpload($upload_path,$formpic){ //配置 //设置文件上传的路径 $config['upl... 阅读全文