摘要: info = getimagesize($picPath); //获取图片名 $this->info['type'] = image_type_to_extension($this->info[2],false); $funs = '... 阅读全文
posted @ 2015-03-09 11:14 ikasa007 阅读(351) 评论(0) 推荐(0) 编辑
摘要: getMethods()); //var_dump($reflection->getProperties()); class dbTypes implements ArrayAccess{ private $dbtypes = array(); ... 阅读全文
posted @ 2015-03-05 16:18 ikasa007 阅读(248) 评论(0) 推荐(0) 编辑
摘要: View Code 阅读全文
posted @ 2015-03-03 14:27 ikasa007 阅读(828) 评论(0) 推荐(0) 编辑
摘要: View Code 阅读全文
posted @ 2015-03-03 11:57 ikasa007 阅读(798) 评论(0) 推荐(0) 编辑
摘要: 1 dir = $dir;12 13 }14 /**15 * @desc 设置文件缓存16 * @param string $key 文件名 17 * @param un... 阅读全文
posted @ 2015-01-30 11:42 ikasa007 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 1 null); 4 /** 5 * @desc 返回JSON格式 6 * @param int $code 7 * @param string $message 8 * @param array $da... 阅读全文
posted @ 2015-01-28 10:44 ikasa007 阅读(475) 评论(0) 推荐(1) 编辑
摘要: 1.新浪云平台SAE(http://sae.sina.com.cn/)。注册账号2.创建应用 3.填写应用信息 4.应用创建完成,管理应用 5.上传代码(.zip)格式 阅读全文
posted @ 2015-01-09 19:02 ikasa007 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1 attr1;22 }23 //获取属性224 protected function getAttr2(){25 26 echo $this->attr2;27 } 28 /**29 * @desc 获取属性330... 阅读全文
posted @ 2015-01-07 17:53 ikasa007 阅读(313) 评论(0) 推荐(0) 编辑
摘要: = 0){ $day = $day + abs($vnum); }else{ $day = $day - abs($vnum); } break; case 'mont... 阅读全文
posted @ 2014-11-25 13:47 ikasa007 阅读(221) 评论(0) 推荐(0) 编辑
摘要: #now(),获取当前时间戳的日期格式['Y-m-d H:i:s']#sysdate().获取当前时间戳的日期格式['Y-m-d H:i:s']select now()select sysdate();#curdate() 获取当前时间戳的日期格式['Y-m-d'] current_date()s... 阅读全文
posted @ 2014-11-17 14:59 ikasa007 阅读(248) 评论(0) 推荐(0) 编辑