2014年5月9日
摘要: php函数名在识别时不会区分大小写,意思就是写两个相同的名字,但是大小写不同,php会认为这是同一个方法,在执行时就会报不能声明同一个函数的错 即:function re(){}=function rE(){}在php中方法中的变量值在外层是调用不到的,例如: $a=12; function... 阅读全文
posted @ 2014-05-09 17:40 smile小红帽 阅读(2377) 评论(0) 推荐(0) 编辑
摘要: 网页可见区域宽:document.body.clientWidth网页可见区域高:document.body.clientHeight网页可见区域宽:document.body.offsetWidth (包括边线的宽)网页可见区域高:document.body.offsetHeight (包括边线的... 阅读全文
posted @ 2014-05-09 13:58 smile小红帽 阅读(465) 评论(0) 推荐(0) 编辑
摘要: public static String getLastMonthTime(){ Calendar calendar = Calendar.getInstance(); calendar.add(Calendar.MONTH, -1); int y... 阅读全文
posted @ 2014-05-09 12:06 smile小红帽 阅读(2180) 评论(0) 推荐(0) 编辑