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