1. java使用公司邮件服务器发送邮件 1 /** 2 * 发送邮件 3 */ 4 public void sendMail(String receivers, String content, String title) { 5 try { 6 // 公司邮件服务器地址 7 URL url = n ...
分类:
编程语言 时间:
2016-08-04 14:52:48
阅读次数:
257
<! html > <!DOCTYPE html><html><head> <meta charset="utf-8"> <metaname=”viewport”content=”width=device-width, initial-scale=1″ /> <title>动态全屏宽度自适应bann ...
分类:
其他好文 时间:
2016-08-04 10:24:05
阅读次数:
135
http://blog.csdn.net/bjbs_270/article/details/14005271 1. CURL 发送磁盘上面的JSON文件 [html] view plain copy 如 curl -X POST -H 'content-type: application/json' ...
分类:
Web程序 时间:
2016-08-04 06:45:57
阅读次数:
297
1.上传文件使用的提交方式和请求Content-type POST提交方式,原始的form表单提交请加上enctype="multipart/form-data" 2.MAX_FILE_SIZE 隐藏字段(单位为字节) 必须放在文件输入字段之前,其值为接收文件的最大尺寸。这是对浏览器的一个建议,PH ...
分类:
Web程序 时间:
2016-08-03 21:39:44
阅读次数:
139
直接上代码: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>jQuery实现文字逐条向上滚动特效</title> <style> * ...
分类:
Web程序 时间:
2016-08-03 20:10:59
阅读次数:
204
<!DOCTYPE html> <html > <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>日历练习</title> <styl ...
分类:
Web程序 时间:
2016-08-03 20:09:20
阅读次数:
225
在网站开发中不免因为各种兼容问题苦恼,针对兼容问题,其实IE给出了解决方案Google也给出了解决方案百度也应用了这种方案去解决IE的兼容问题 代码加 <meta http-equiv=Content-Type content="text/html;charset=utf-8"> <meta htt ...
分类:
其他好文 时间:
2016-08-03 20:08:38
阅读次数:
108
$size=filesize($file);$file=fopen($file, "r");ob_start();header("Content-type: application/octet-stream");header("Accept-Ranges: bytes");header("Accep ...
分类:
Web程序 时间:
2016-08-03 20:00:19
阅读次数:
121
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title></title> <!-- 使ie以IE8的模式运行 --> <meta http-equiv="X-UA-Compatible" content="IE=Emul ...
分类:
Web程序 时间:
2016-08-03 19:58:57
阅读次数:
289
<LinearLayout android:background="#eb4f38" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal"> ...
分类:
其他好文 时间:
2016-08-03 18:29:58
阅读次数:
143