摘要: 1. 禁用COOKIE 后 SEESION 还能用吗?答案: 不能。2. 抓取远程图片到本地,你会用什么函数?答案: fsockopen()。3.求两个日期的差数,例如2007-2-5 ~ 2007-3-6 的日期差数。答案:$start=strtotime(‘2014-6-18’);$end=st... 阅读全文
posted @ 2015-08-13 08:54 务观 阅读(394) 评论(1) 推荐(0) 编辑
摘要: 1.请写一个函数,实现以下功能:字符串"open_door"转换成 "OpenDoor"、"make_by_id" 转换成"MakeById"。function str_change($str) {$str = str_replace ( "_", " ", $str );$str = ucword... 阅读全文
posted @ 2015-08-13 08:53 务观 阅读(726) 评论(0) 推荐(0) 编辑