例如你的原路径是 http://localhost/test/index.php/index/add那么现在的地址是 http://localhost/test/index/add如何去掉index.php呢?1、httpd.conf配置文件中加载了mod_rewrite.so模块 //在APACH...
分类:
Web程序 时间:
2014-10-11 22:04:16
阅读次数:
232
我们在用SQLite查数据的时候,经常会用到Cursor这个游标,我们希望能将游标指向的数据直接绑定到ListView中,这样就免去了将游标数据取出然后转换到SimpleAdapter中的麻烦。今天我们来演示下这个适配器如何使用。思路:通过传统的方法执行查询操作,返回一个Cursor,将这个游标.....
分类:
其他好文 时间:
2014-10-11 21:40:36
阅读次数:
206
1 d_user = D('User');10 $this->user = M('user');11 12 //打款的配置信息13 $this->arr = array(14 'userA' => 1,15 ...
分类:
Web程序 时间:
2014-10-11 01:06:04
阅读次数:
389
ThinkPHP 3.1.2官方手册 第16.2章节 《隐藏index.php》中提到在Ngnix中隐藏index.php实现SEO友好的方法,其中使用了如下的代码location / { if (!-e $request_filename) { rewrite ^(.*)$ /i...
分类:
Web程序 时间:
2014-10-11 00:04:24
阅读次数:
285
server { listen 80; server_name www.funsion.com; root /www/web/funsion; index index.php; # 禁止访问应用目录中的php文件 location ~*...
分类:
Web程序 时间:
2014-10-10 23:41:04
阅读次数:
294
一、实验目的
1、掌握SQL Server Management Studio的新建查询的使用方法,加深对SQL的语句的理解;
2、使用SQL Server Management Studio的新建查询用SELECT语句进行数据查询;
3、熟练掌握简单表的数据查询、数据排序和数据连接查询的操作方法。
二、实验内容
1、完成简单查询操作。该实验包括投...
分类:
其他好文 时间:
2014-10-10 21:50:14
阅读次数:
996
一、坑爹 在使用Mybatis3.2.7+sqlite-jdbc3.3时,在执行查询操作,不管returnType和parameterType传什么值均报位于mapper.xml文件中的java.sql.SQLException:NYI错误...
分类:
数据库 时间:
2014-10-09 14:07:33
阅读次数:
461
统计表中字段数据总值:$startInfo = $objOrderInfo->field("COUNT(*) number,SUM(order_amount) account")->where("ctime >='$startPeriod[startTime]' AND ctime find();
分类:
数据库 时间:
2014-10-08 14:26:25
阅读次数:
355