一 开启memcache服务二 修改php.ini中session配置 php/lib/php.inisession.save_handler=memcachesession.save_path="tcp://127.0.0.1:11211" 查找memcache服务:netstat ano|gre...
分类:
Web程序 时间:
2015-04-25 18:11:15
阅读次数:
162
一、使用html5的缓存机制1.先上规则代码:m.manifestCACHE MANIFEST# 2015-04-24 14:20#直接缓存的文件CACHE:/templates/specialty/css/style.css/templates/specialty/js/jquery.js/tem...
分类:
其他好文 时间:
2015-04-24 18:23:44
阅读次数:
111
在js中拼了如下代码:
html.push("Add Item ");
html.push("Save");
显示样式如下:
希望显示如下:
这样一个...
分类:
其他好文 时间:
2015-04-23 13:22:26
阅读次数:
594
一、背景公司的redis有时background save db不成功,通过log发现下面的告警,很可能由它引起的:[13223] 17 Mar 13:18:02.207 # WARNING overcommit_memory is set to 0! Background save may fai...
分类:
系统相关 时间:
2015-04-23 13:03:41
阅读次数:
356
1、从互联网上或者其他途径拿过来的工程代码,往往会报下面的提示: (1)打开文件的时候出现窗口提示You don’t have permission to save the file “project.xcworkspace” in the folder “****.xcodeproj”. (2)进...
分类:
系统相关 时间:
2015-04-23 01:50:11
阅读次数:
829
Loadrunner中参数和变量的使用 //字符串复制strcpy(str,"Hello ") ; //字符串连接strcat(str,"World !");lr_message("str: %s",str); //变量转为参数,将变量str的值存到参数Param中lr_save_string(st...
分类:
其他好文 时间:
2015-04-22 20:01:58
阅读次数:
138
语法int web_reg_save_param(const char *ParamName, , LAST);参数说明:? ParamName:存放动态数据的参数名称? list of Attributes:其它属性,包含 Notfound, LB, RB, RelFrameID, Search,...
分类:
Web程序 时间:
2015-04-22 17:43:41
阅读次数:
131
public String excelDomnload() throws Exception{ try{ /* String path = GlobalKeys.getFunctionConfig("user_attach_save","/opt/tmp/"); RegUser ru ...
分类:
编程语言 时间:
2015-04-22 15:12:05
阅读次数:
189
Save Image Download Image
分类:
Web程序 时间:
2015-04-22 13:15:03
阅读次数:
138
function save($db){ //转换合法数组 $inputDb=var_export($db,TRUE); //组合写入字符串 $inputStr=str; //写入文件 file_put_contents('db.php', $inputStr);}
分类:
Web程序 时间:
2015-04-22 13:08:55
阅读次数:
131