上一页 1 ··· 8 9 10 11 12 13 下一页
摘要: 登录 网站/distributor/default/index之后,保存当前的session,想要进入 网站/company/default/index 时通过权限设置,若session有company相关的记录就跳转到相关页面,若session中没有company相关的记录就跳转到登录的页面. y 阅读全文
posted @ 2017-02-27 10:28 py卡卡 阅读(29509) 评论(0) 推荐(0) 编辑
摘要: SVN提交或者更新时出错 显示提交SVN的用户名及密码,填写成功后还是要填用户名及密码 SVN报出的错误: Error:svn: E170013: Unable to connect to a repository at URL 'svn:地址'svn: E731001: Unknown hostn 阅读全文
posted @ 2017-02-23 15:00 py卡卡 阅读(12406) 评论(0) 推荐(0) 编辑
摘要: <?php /** * 图片常用处理 * * 需要 yii/yii2-imagine 的支持 * php composer.phar require --prefer-dist yiisoft/yii2-imagine * * 文件上传参考文档编写文件上传类 * @link http://www.y 阅读全文
posted @ 2017-02-21 10:23 py卡卡 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 1 <?php 2 header('content-type: image/jpeg'); 3 $QQ = $_GET['qq']; 4 $time2 = date('Y-m-d H:i:s'); 5 $t = strtotime($time2); 6 echo file_get_contents("http://q1.qlogo.cn/g?b=qq&nk=".$QQ . "&s=100&t="... 阅读全文
posted @ 2017-02-20 16:56 py卡卡 阅读(262) 评论(0) 推荐(0) 编辑
摘要: model: 阅读全文
posted @ 2017-02-17 16:28 py卡卡 阅读(1622) 评论(0) 推荐(0) 编辑
摘要: str_pad 使用另一个字符串填充字符串为指定长度 使用:string str_pad ( string $input , int $pad_length [, string $pad_string = " " [, int $pad_type = STR_PAD_RIGHT ]] ) 说明:该函 阅读全文
posted @ 2017-02-16 15:43 py卡卡 阅读(1958) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-02-15 16:43 py卡卡 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 1 $count ? $count : $countP; 17 18 for($i = $p; $iload($resource); // 文件名称 24 $sheet = $PHPExcel->getSheetByName('低压线路');//文件下的一个sheet表 25 $highestRow = $sheet->getHighestRow(); // 取得总行数 2... 阅读全文
posted @ 2017-02-15 15:15 py卡卡 阅读(603) 评论(0) 推荐(0) 编辑
摘要: 如果现在能有清理浮动的办法,但不至于在文档中多一个没有用的空标记,这时的效果是最好的!引入:after伪元素选择器,可以在指定的元素的内容添加最后一个子元素 .container:after{ } 如何写入内容呢? >content属性,写入内容 于是 .container:after{ conte 阅读全文
posted @ 2017-02-15 14:24 py卡卡 阅读(873) 评论(0) 推荐(1) 编辑
摘要: 将图片一转换成图片二:<label style="color : #fff; float:left;background-color:#5cb85c; border: 3px solid #5cb85c; font-weight:normal; width: auto; max-width:none 阅读全文
posted @ 2017-02-15 11:57 py卡卡 阅读(177) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 下一页