ENCTYPE="multipart/form-data"用于表单里有图片上传。
表单标签中设置enctype="multipart/form-data"来确保匿名上载文件的正确编码。 如下: ...
分类:
其他好文 时间:
2014-05-26 23:51:35
阅读次数:
375
呵呵呵呵```csharpusing System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Linq;using ...
分类:
其他好文 时间:
2014-05-26 22:58:46
阅读次数:
352
已经无法再精简,适合入门。 1 #include 2 #include 3 4
#include 5 #include 6 #include 7 #include 8 struct mengc_dev{ 9 char data[64];10
struct cdev...
分类:
系统相关 时间:
2014-05-26 22:52:42
阅读次数:
371
package com.wsy.model;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
public class ThreadScopeShareData {
static int data;
public static void main(String[] args) {
fin...
分类:
编程语言 时间:
2014-05-23 00:38:07
阅读次数:
287
MySQL默认的数据文件存储目录为/var/lib/mysql。假如要把目录移到/home/data下需要进行下面几步:1.在home下建立目录mkdir-p/home/data/mysql2.停掉mysqld服务/etc/init.d/mysqldstop3.把/var/lib/mysql目录下面的内容迁移到/home/data/mysql下面4。修改my.cnf配置文件如果/etc..
分类:
数据库 时间:
2014-05-22 18:26:05
阅读次数:
405
import re
data = open('a.txt')
fh = open('b.txt', 'w')
"""Search the string begining with '【'"""
p = re.compile(r'\s*[\u3010]')
for each_d in data:
if re.match('\s*3\d{4}', each_d):
...
分类:
编程语言 时间:
2014-05-22 17:26:17
阅读次数:
293
using System;using System.Collections.Generic;using
System.ComponentModel;using System.Data;using System.Drawing;using
System.Linq;using System.Text;u...
分类:
其他好文 时间:
2014-05-22 16:00:38
阅读次数:
196
通过MapReduce程序分析气象数据集,更好的了解计算过程。环境:Hadoop 1.2.1
& Centos 6.5
x641、气象数据集准备下载链接:ftp://ftp3.ncdc.noaa.gov/pub/data完整数据集非常大,可以下载部分数据集作为日常实验数据。2、气象数据上传到HDFS...
分类:
其他好文 时间:
2014-05-22 15:39:14
阅读次数:
361
因特网协议栈Internet protocol stack:应用层Application
layer、运输层Transport layer、网络层Network layer、链路层Data link layer、物理层Physical
layer7层ISO OSI参考模型:应用层、表示层Presen...
分类:
Web程序 时间:
2014-05-22 15:21:38
阅读次数:
312
一.需求做一个类似QQ登录似的app,将数据写到ROM文件里,并对数据进行回显.二.截图登录界面:文件浏览器,查看文件的保存路径:/data/data/com.amos.datasave/files/LoginTest.txt------/data/data/(包名)/files/(文件名)导出的文...
分类:
移动开发 时间:
2014-05-22 14:28:57
阅读次数:
775