5. 在这里我加一个struts2的一个上传验证的问题上传时我们可以这样来验证//判断上传的文件是否合要求 public boolean filterType(String []types){ //这里用的是 上传的file对象的方法length //上传的类...
分类:
其他好文 时间:
2014-06-28 16:28:01
阅读次数:
223
#ifndef __CCCONFIG_H__#define __CCCONFIG_H__#include "platform/CCPlatformConfig.h"/**@filecocos2d (cc) configuration file*//** @def CC_ENABLE_STACKABL...
分类:
其他好文 时间:
2014-06-28 16:27:23
阅读次数:
280
线上配置/etc/rsyncd.confuid = rootgid = rootuse chroot = yesmax connections = 10pid file=/var/run/rsyncd.pidlist = yesstrict modes = nohosts ...
分类:
其他好文 时间:
2014-06-28 16:24:42
阅读次数:
327
#include #include char data_file[]="D:\\%\\datetime.dat";void get_data(void){ FILE *fp; time_t t; if((fp = fopen(data_file,"r")) == NULL) printf("本程序第...
分类:
其他好文 时间:
2014-06-28 15:25:41
阅读次数:
254
file=$file; $this->save='wm'.basename($this->file).'.jpg'; // new file to save watermarked image as $this->im=$this->open_img($this->file); ...
分类:
Web程序 时间:
2014-06-28 15:22:38
阅读次数:
233
/** * @version 2.0 * @author sharks*//** * Instruction * this version will use IO * apply file to store data * it just a table double click table ca.....
分类:
其他好文 时间:
2014-06-28 14:05:29
阅读次数:
300
使用Eclipse的maven构建一个web项目1、选择建立Maven Project 选择File -> New -> Other,在New窗口中选择 Maven -> Maven Project;点击next 2、选择项目路径Usedefault Workspace location默认工作.....
分类:
Web程序 时间:
2014-06-28 12:50:22
阅读次数:
316
find手册中对time的解释:以 atime 为例:-atime n File was last accessed n*24 hours ago. When find figures out how many 24-hours periods ago the file was last...
分类:
其他好文 时间:
2014-06-28 12:09:59
阅读次数:
222
1、下载php源码包http://www.php.net/downloads.php2 、安装phptar -xvf php-5.5.13.tar.bz2cd php-5.5.13./configure --prefix=/usr/local/php --with-config-file-path=...
分类:
Web程序 时间:
2014-06-28 11:46:15
阅读次数:
259
--mysqladmin shutdownIf you executemysqladmin shutdownwhen connecting to a local server using a Unix socket file,mysqladminwaits until the server's pr...
分类:
数据库 时间:
2014-06-28 11:43:06
阅读次数:
270