使用libmongoc,参考:http://mongoc.org/libmongoc/current/mongoc_gridfs_t.html ...
分类:
数据库 时间:
2017-03-17 21:01:00
阅读次数:
463
PHP编译安装参数--prefix=/usr/local/php#指定php安装目录--with-apxs2=/usr/local/apache/bin/apxs#整合apache,apxs功能是使用mod_so中的LoadModule指令,加载指定模块到apache,要求apache要打开SO模块--with-config-file-path=/usr/local/php/etc#指定php.ini位置--with-My..
分类:
Web程序 时间:
2017-03-14 21:28:34
阅读次数:
182
/** * 获取某路径下的子文件 * */ public static List getSubFile(String path){ List subFile = new ArrayList(); File file=new File(path); //确保该路径存在 if(file.exists()... ...
分类:
编程语言 时间:
2017-03-10 16:42:18
阅读次数:
210
Linux下安装PHP的过程: 安装软件之前先安装编译工具gcc、gcc-c++ 拷贝源码包,解包解压缩 Cd /lamp/php进入php目录 ./configure–prefix=/usr/local/php –with-config-file-path=/usr/local/php/etc指定 ...
分类:
数据库 时间:
2017-03-08 17:36:22
阅读次数:
168
再使用配置变量前要 引入配置变量即:{$config_load file=‘file_path’}$marty3中可以从配置文件中 用 # 号包起来引用配置文件中的变量({#config_var_name#}),或者通过Smarty变量 $smarty.config.config_var_name ...
分类:
其他好文 时间:
2017-03-08 13:06:14
阅读次数:
134
// 判断目录下是否有.jpg,如果有就输出 static void getJpgName2(String path) { File file = new File(path); String[] nameArr = file.list(new FilenameFilter() { @Overrid ...
分类:
编程语言 时间:
2017-03-01 16:03:38
阅读次数:
199
该程序演示了fopen,fread,fwrite的基础用法。 这个代码可以复用到我现在的工作中。 ...
分类:
其他好文 时间:
2017-02-26 12:01:49
阅读次数:
132
1、前言 在使用Android Studio开发环境时,经常会爆出以下错误,虽然具体细节内容各有不同,但是说明的都是同一个问题,在windows中使用过长的路径,超过240字符。 Error:Error: File path too long on Windows, keep below 240 c ...
分类:
移动开发 时间:
2017-02-23 17:09:45
阅读次数:
259
//exec(‘mongoexport-h192.168.6.97--port40000-dfenjianlidb-cfenjianli-f"meta_info.file_path"-q"{\‘create_time\‘:{\‘$gte\‘:\‘1487088000\‘,\‘$lte\‘:\‘1487644200\‘}}"-o‘.$save_path.‘middle.txt‘,$ret);//window平台//php执行exec(‘mongoexport-h192.168.6.97--port400..
分类:
Web程序 时间:
2017-02-21 20:00:22
阅读次数:
469
1 import easygui as g 2 import os 3 4 5 file_path = g.fileopenbox(default='F:\\') 6 with open(file_path) as f: 7 title = '内容显示' 8 file_name = os.path.... ...
分类:
其他好文 时间:
2017-02-19 19:56:27
阅读次数:
179