//导出XLS文件 public function
dataToXls($filename,$fields,$data,$datasum=array()){ header("Content-Type:
application/vnd.ms-excel;charset=gbk");...
分类:
Web程序 时间:
2014-05-26 21:38:31
阅读次数:
302
在数据库表中,使用索引可以大大提高查询速度。All storage engines
support at least 16 indexes per table and a total index length of at least 256
bytes. Most storage engines h...
分类:
数据库 时间:
2014-05-26 21:23:17
阅读次数:
349
互斥量与条件变量的区别转载自:http://www.360doc.com/content/12/0129/10/1317564_182456205.shtml前面谈过了线程锁,下面我们在继续研究一下线程锁;互斥量从本质上来说是一个锁,对互斥量加锁后任何其他试图给它加锁的线程都会被阻塞直至当前线程释放...
分类:
其他好文 时间:
2014-05-26 20:43:25
阅读次数:
252
如果要将查询结果导出到Excel,只需将页面的Context-Type修改一下就可以了:header( "Content-Type:
application/vnd.ms-excel">如果希望能够提供那个打开/保存的对话框,Content-Disposition参数,Content-Disposi...
分类:
其他好文 时间:
2014-05-26 15:51:15
阅读次数:
172
修改../conf/content.xml WEB-INF/web.xml -->
--> 并将ojdbc6.jar拷贝到tomcat的lib目录下,以上则配置好了Oracle数据源。在使用时需要在web.xml中加入: hpms...
分类:
数据库 时间:
2014-05-26 13:55:00
阅读次数:
365
同poj2318! 1 //Accepted 220 KB 0 ms 2 #include 3
#include 4 #include 5 using namespace std; 6 const int MAXN = 1005; 7 struct
node 8 {...
分类:
其他好文 时间:
2014-05-26 12:39:06
阅读次数:
242
1、Intent intent = new
Intent(Intent.ACTION_GET_CONTENT); intent.setType("image/*");
intent.putExtra("crop", true); in...
分类:
其他好文 时间:
2014-05-26 12:00:15
阅读次数:
230
近日在做项目时遇到非必现crush,具体异常信息为:// Short Msg:
java.lang.IllegalStateException// Long Msg: java.lang.IllegalStateException: The
content of the adapter has ch...
分类:
移动开发 时间:
2014-05-26 10:08:36
阅读次数:
590
PECL :: Package :: memcache 2.1.1 版本的 Changelog
中有一条:- Added experimental session storage support. You can use memcached as
session storage.也就是可以直接用 m...
分类:
Web程序 时间:
2014-05-26 08:51:55
阅读次数:
322