www.abc.com/tag-xxx.html增加伪静态规则RewriteCond
%{QUERY_STRING} ^(.*)$ RewriteRule ^tag-(.+)\.html$
/home/index/tag/?&tag=$1&%1
分类:
Web程序 时间:
2014-05-06 08:47:50
阅读次数:
279
Problem DescriptionGiven n integers.You have two
operations:U A B: replace the Ath number by B. (index counting from 0)Q A B:
output the length of the...
分类:
其他好文 时间:
2014-05-06 01:20:33
阅读次数:
332
(一)javascript中的数组index属性——获取数组的索引值例如:要做到这样的效果点击每个选项时,会显示不同的div。我们的做法:在javascript中,先把所有的div的display设置为none,然后在根据当前的数组里的索引值进行一个显示div的过程。下面的例子就是:首先,把妙味课堂...
分类:
编程语言 时间:
2014-05-05 22:03:52
阅读次数:
378
#include #include #include using namespace std;int
n,leap;int vis[12];void dfs(int index,int num){ if(leap) return ; if(index>n)
{ ...
分类:
其他好文 时间:
2014-05-05 22:01:05
阅读次数:
593
1.默认的路由 -
base_routerhttp://test-server//index.php/{$app_name}/{$ctl_name}/{$act_name}/{$param_k1}/{$param_v1}/{$param_k2}/{$param_v2}/}app:
$app_name...
分类:
其他好文 时间:
2014-05-05 21:44:38
阅读次数:
235
3.1MySQL 存储引擎概述 到后来,MySQL
意识到需要更改架构,将前端的业务逻辑和后端数据存储以清晰的层次结构拆分开的同时,对ISAM 做了功能上面的扩展和代码的重构,这就是MyISAM存储引擎的由来。
MySQL 的插件式存储引擎主要包括MyISAM,Innodb,NDB Cluste.....
分类:
数据库 时间:
2014-05-04 12:32:42
阅读次数:
662
Linux网络服务之HTTP(1)实验要求:1、主机名设为:www.zhy.com,默认首页包括:index.html、index.php,开启保持连接,确认默认httpd是否支持php2、只允许192.168.1.1访问www.zhy.com,允许所有用户访问www.zhy.com/user/index.html3、客户端访问/var/www/html/admin/需要输..
分类:
系统相关 时间:
2014-05-03 20:41:33
阅读次数:
546
本文出自:http://blog.csdn.net/svitter
原题:http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=1053
题意:完全背包不解释。。直接贴代码。。
#include
#include
#include
using namespace std;
#defi...
分类:
其他好文 时间:
2014-05-03 16:06:14
阅读次数:
324
在Desktop.js中扩展一个函数initShortCut : function() {
var btnHeight = 64; var btnWidth = 64; var btnPadding = 30; var col = { index
...
分类:
Web程序 时间:
2014-05-02 13:28:43
阅读次数:
490