06 2015 档案

摘要: 阅读全文
posted @ 2015-06-29 20:53 麦田守望者~ 阅读(1493) 评论(0) 推荐(0) 编辑
摘要:/** * 微信菜单发布外网 */ function showwx_menu_release(){ $wx_menu = load_mysql ("wx_menu"); #获取一级菜单[已开启的] $res=$wx_menu->getAll_menu_p... 阅读全文
posted @ 2015-06-29 19:14 麦田守望者~ 阅读(272) 评论(0) 推荐(0) 编辑
摘要:var id="$defaultId"; if(!id){ $("#tag_url").addClass("div_display_none"); $("#menu_type").addClass("div_display_none"); } 阅读全文
posted @ 2015-06-29 18:09 麦田守望者~ 阅读(428) 评论(0) 推荐(0) 编辑
摘要:http://www.w3cschool.cc/redis/redis-pipelining.html 阅读全文
posted @ 2015-06-26 23:14 麦田守望者~ 阅读(97) 评论(0) 推荐(0) 编辑
摘要:https://github.com/xialeistudio/wechatPublicPlatform 阅读全文
posted @ 2015-06-26 18:58 麦田守望者~ 阅读(107) 评论(0) 推荐(0) 编辑
摘要:var Reply_type_name=$("#Reply_type").find("option:selected").text(); 阅读全文
posted @ 2015-06-24 12:15 麦田守望者~ 阅读(146) 评论(0) 推荐(0) 编辑
摘要:http://document.onethink.cn/manual_1_0.html#onethink_usehelp_config官网:http://www.onethink.cn/topic/3128.html 阅读全文
posted @ 2015-06-23 15:08 麦田守望者~ 阅读(200) 评论(0) 推荐(0) 编辑
摘要:http://www.thinkphp.cn/code/305.htmlhttp://document.thinkphp.cn/manual_3_2.html#wechat 阅读全文
posted @ 2015-06-23 13:54 麦田守望者~ 阅读(197) 评论(0) 推荐(0) 编辑
摘要:source d:\datafilename.sql 阅读全文
posted @ 2015-06-23 13:52 麦田守望者~ 阅读(200) 评论(0) 推荐(0) 编辑
摘要:http://www.html5code.net/plus/list.php?tid=20 阅读全文
posted @ 2015-06-18 19:32 麦田守望者~ 阅读(106) 评论(0) 推荐(0) 编辑
摘要:http://www.oschina.net/project/tag/83/db-model 阅读全文
posted @ 2015-06-18 15:03 麦田守望者~ 阅读(365) 评论(0) 推荐(0) 编辑
摘要:点击 左上的 file-》import -》General-》在选择第二个[ Exissting 。。。。] 阅读全文
posted @ 2015-06-17 15:23 麦田守望者~ 阅读(406) 评论(0) 推荐(0) 编辑
摘要:#测试网址: http://localhost/blog/testurl.php?id=5//获取域名或主机地址 echo $_SERVER['HTTP_HOST'].""; #localhost//获取网页地址 echo $_SERVER['PHP_SELF'].""; #/blog/te... 阅读全文
posted @ 2015-06-16 17:52 麦田守望者~ 阅读(998) 评论(0) 推荐(0) 编辑
摘要:要采集一个网站,目标站采用了gzip压缩传输网页,本来应该只要发送一个http头 Accept-Encoding: identity或者干脆不发送这个头等,就可以使目标站返回没有经过gzip压缩的页面了,不过很不幸,目标站无视客户端的请求,仍然返回gzip数据,造成乱码。 其实php对gz... 阅读全文
posted @ 2015-06-16 11:57 麦田守望者~ 阅读(4905) 评论(0) 推荐(0) 编辑
摘要:$str="3,22,11,444,33,1,3455,33,22,444,55,66,77,88,99,554336,";echo substr($str,0,strlen($str)-1); 阅读全文
posted @ 2015-06-10 16:28 麦田守望者~ 阅读(181) 评论(0) 推荐(0) 编辑
摘要:最近在写php的过程中发现php提示php notice:………………的字样,虽然这个只是php的提示内容,并没有什么大的影响,但是出于安全性和美观方面的考虑,小弟还是想把这个东西去掉。那么,怎么办呢?抬出baidu,直接复制、粘贴php notice:,这样搜索的结果,一般有两种情况:一、直接来一... 阅读全文
posted @ 2015-06-10 12:01 麦田守望者~ 阅读(574) 评论(0) 推荐(0) 编辑
摘要:1 将下面的代码放在网站根目录下的一个文件中,以便在其它文件中引用。 2 3 路径方式: 4 5 define('BASE_PATH',str_replace('\\','/',realpath(dirname(__FILE__).'/'))."/"); 6 7 echo BA... 阅读全文
posted @ 2015-06-09 17:27 麦田守望者~ 阅读(440) 评论(0) 推荐(0) 编辑
摘要:1 /** 2 *上传图片 3 */ 4 function showUpload_img($_FILES){ 5 6 $url_img=realpath(dirname(__FILE__).'/../../'.'/wx_chat/img/').'/... 阅读全文
posted @ 2015-06-09 17:26 麦田守望者~ 阅读(179) 评论(0) 推荐(0) 编辑
摘要:array( "host" => "14.29.64.112", "port" => "8899", "pass" => "funova2014" )); #微信签名 private function checkSignature() { $signature ... 阅读全文
posted @ 2015-06-09 14:02 麦田守望者~ 阅读(1185) 评论(0) 推荐(0) 编辑
摘要:ngx.header.content_type = "text/plain"local cjson = require "cjson";local funova_libs = require "funova_libs";local Code_Result = { success = 1, ... 阅读全文
posted @ 2015-06-08 20:22 麦田守望者~ 阅读(520) 评论(0) 推荐(0) 编辑
摘要:如果未安装在命令行输入:yum install lrzszrz 然后上传自己的文件。在解压 阅读全文
posted @ 2015-06-08 19:25 麦田守望者~ 阅读(768) 评论(0) 推荐(0) 编辑
摘要:\’ 单引号 \” 双引号 \\ 反斜杠 \0 空 \a 警告(产生峰鸣) \b 退格 \f 换页 \n 换行 \r 回车 \t 水平制表符 \v 垂直制表符 阅读全文
posted @ 2015-06-07 22:54 麦田守望者~ 阅读(414) 评论(0) 推荐(0) 编辑
摘要:/* *中文截取无乱码 */ function showsubstr_chinese($str, $start, $length = null) { return join("", array_slice( preg_split("//u", $s... 阅读全文
posted @ 2015-06-01 20:43 麦田守望者~ 阅读(105) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示