在使用validation进行唯一性验证时,想各个模块写一个统一的方法,相统一参数名称,但是remote方法会默认把对应的参数传过去如:会把role.roleName默认作为变量提交过去所以想自定义统一的参数,不想把默认参数传递过去但是validation插件似乎不支持,只好看源码了所以,既不影响其...
分类:
Web程序 时间:
2014-05-01 11:43:37
阅读次数:
467
php.ini 配置[fastdfs]; the base
pathfastdfs_client.base_path = D:/tmp; connect timeout in seconds; default value
is 30sfastdfs_client.connect_timeout = ...
分类:
Windows程序 时间:
2014-05-01 11:40:56
阅读次数:
1211
去重有两层含义,一:是记录完全一样;二:是符合一定条件的认为是重复。根据表的数量,去重可划分为:单表去重和多表关联去重。对于去重,一般最容易想到的是用distinct,而distinct只能对记录完全重复的记录保留一条。distinct使用的是二重循环的方式来去重的,如果数据量非常大的时候,会导致性...
分类:
数据库 时间:
2014-05-01 11:36:20
阅读次数:
422
MySQL Administrator 创建表MyEclipse Database
Explorer视图:1. New2 .Driver template: MySQL Connector/JDriver name:
给定一个连接名称Connection URL:jdbc:mysql://[]/相应...
分类:
系统相关 时间:
2014-05-01 10:48:33
阅读次数:
696
1. 显示环境变量HOME $ echo $HOME /home/redbooks 2.
设置一个新的环境变量hello $ export HELLO="Hello!" $ echo $HELLO Hello! 3. 使用env命令显示所有的环境变量
$ ...
分类:
系统相关 时间:
2014-05-01 08:18:05
阅读次数:
403
在VC中使用WebBrowser控件的两方法黄森堂(vcmfc)著ClassWizard方式:1.创建包装类:View->ClassWizard->Add
Class->Form a Type
Library->C:\winnt\system32\shdocvw.dll->只选择IWebBrowse...
分类:
Web程序 时间:
2014-05-01 08:15:32
阅读次数:
470
nginxserver { listen 80; server_name localhost;
root /apps/web/; index index.html; location / { } location /server { ...
分类:
其他好文 时间:
2014-05-01 08:03:15
阅读次数:
902
1. 查看内核版本命令: 1) [root@q1test01 ~]# cat
/proc/version Linux version 2.6.9-22.ELsmp (bhcompile@crowe.devel.redhat.com)
(gcc version 3.4.4 20050721 (Red ...
分类:
系统相关 时间:
2014-05-01 07:15:14
阅读次数:
575
#include#include#includeusing namespace std;int
main(){ int n,i; char a[100000]; cin>>a; sort(a,a+strlen(a)); do{
cout<<a<<endl; }while(next_permut...
分类:
其他好文 时间:
2014-05-01 06:20:37
阅读次数:
368
1){print_r($argv);}?>另存为 ./test.php[root@xiuran
test]#php ./test.php xxx fdf3Array( [0] =>test.php [1] => xxx [2] =>
fdf)
分类:
Web程序 时间:
2014-05-01 06:12:29
阅读次数:
379