添加虚拟用户口令文件vi/etc/vsftpd/login.txtyjlyjlbdlbdl......这个文件第一行用户名,第二行为密码。2.生成虚拟用户口令文件。这个过程需要安装一个db_utilsyuminstalldb_utilsdb_load–T–thash–f/etc/vsftpd/login.txt/etc/vsftpd/login.db3.编辑vsftpd的认证文件。在/e..
分类:
其他好文 时间:
2014-10-05 03:50:48
阅读次数:
368
filter_var是在php5.2.0中开始提供的。详细说明见: http://www.php.net/manual/zh/book.filter.php 先看看代码:array( * "required" => 1, * "filter" => FILTER_VALIDATE_INT, * "o...
分类:
Web程序 时间:
2014-10-04 01:56:15
阅读次数:
229
@Html.TextBox("txtIDNumber", "", new { @class = "l-text required idnumber", style = "width: 186px ;" })
分类:
Web程序 时间:
2014-10-03 14:10:04
阅读次数:
208
常用的验证特性标签: StringLength , Required , RegularExpression , Range , MembershipPasswordAttribute(密码强度限制)也可以通过简单扩展, 增加自己的验证特性 /// /// 这东西也就是练手玩一下, 实...
分类:
其他好文 时间:
2014-09-30 18:33:09
阅读次数:
206
1.Supply the credentials of the Currently Logged on User to the Proxy object similar to this:// Begin code change by jeff // Obta...
分类:
Web程序 时间:
2014-09-30 14:42:49
阅读次数:
192
今天下了导入maven工程之后,pom文件一直报Missingartifact
com.sun:tools:jar:1.5.0。很纳闷,tools.jar是jdk自带的jar包。查了一下pom依赖图,原来是struts-
core依赖了这个jar包。试了网上的各种方法,只有把jdk的tools.jar复制到本地仓库,报错才消失。具体解决办法如下:..
分类:
其他好文 时间:
2014-09-29 19:26:12
阅读次数:
211
This tutorial is aimed at the Django user who wants to set up a production web server. It takes you through the steps required to set up Django so tha...
分类:
Web程序 时间:
2014-09-29 15:43:31
阅读次数:
241
提示信息:There is an error in invoking javac. A full JDK (not just JRE) is required
原 因:是因为Eclipse找不到JDK
发生的原因:我描述一下我自己发生的原因,是因为我安装新版的JDK所引起的。
解决方法:直接贴图,直观一点。
大家记住了 这里的JRE是你JDK的路径,而不...
分类:
编程语言 时间:
2014-09-29 14:49:01
阅读次数:
165
问题现象:
我在执行开启归档命令后报错误ORA-00265
SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode
...
分类:
其他好文 时间:
2014-09-29 14:25:10
阅读次数:
214
.proto文件示例message Configure{ required string host = 1; required uint32 port = 2;}写配置文件代码Configure config;config.set_host("127.0.0.1");config.set...
分类:
其他好文 时间:
2014-09-29 13:54:10
阅读次数:
700