2014年5月14日
摘要:
0x01 什么是CSRF攻击 CSRF是Cross Site Request Forgery的缩写(也缩写为XSRF),直译过来就是跨站请求伪造的意思,也就是在用户会话下对某个CGI做一些GET/POST的事情——这些事情用户未必知道和愿意做,你可以把它想做HTTP会话劫持。 网站是通过cookie...
阅读全文
posted @ 2014-05-14 11:01
milantgh
阅读(798)
推荐(0)
2014年5月12日
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
阅读全文
posted @ 2014-05-12 16:57
milantgh
阅读(195)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
阅读全文
posted @ 2014-05-12 16:56
milantgh
阅读(177)
推荐(0)
2014年5月10日
摘要:
function def(){ var key = document.getElementById ('selectarea'); //select list var value = document.getElementById ('DocAuthor'); //input text //两种不...
阅读全文
posted @ 2014-05-10 13:30
milantgh
阅读(730)
推荐(0)
2014年5月9日
posted @ 2014-05-09 17:06
milantgh
阅读(466)
推荐(0)
摘要:
在IE中只能使用 font-size: 限制 select 的高度。 同时使用 width:200px 限制宽度 size="20" 表示最多显示20个选项,超过20的需要拖动滚动条显示。 multiple 表示 select 可多选 <select size="20" style="width:2
阅读全文
posted @ 2014-05-09 16:43
milantgh
阅读(14439)
推荐(0)
2014年5月8日
posted @ 2014-05-08 20:34
milantgh
阅读(4816)
推荐(0)
摘要:
textarea称文本域,又称文本区,即有滚动条的多行文本输入控件,在网页的提交表单中经常用到。与单行文本框text控件不同,它不能通过maxlength属性来限制字数,为此必须寻求其他方法来加以限制以达到预设的需求。通常的做法就是使用#脚本语言来实现对textarea文本域的字数输入限制,简单而实...
阅读全文
posted @ 2014-05-08 20:21
milantgh
阅读(8835)
推荐(0)
2014年5月7日
摘要:
网易学院视频教程:上:http://tech.163.com/06/0621/17/2K5K0C2200091U6J.html中:http://tech.163.com/06/0621/17/2K5K496Q00091U6J.html下:http://tech.163.com/06/0622/10/...
阅读全文
posted @ 2014-05-07 15:12
milantgh
阅读(866)
推荐(0)
摘要:
ASP上传图片至数据库内功能的实现一般的无组件上传类,其上传过程是将图片先保存到指定文件夹,与此同时将该路径保存至数据库字段的。显示图片则是根据数据库表中的路径字段对应显示的。当然有关图片的管理,比如删除:只删除了路径,实际的图片需要根据该路径通过FSO进行删除……那有没有这样一种情况:将图片直接作...
阅读全文
posted @ 2014-05-07 14:10
milantgh
阅读(7294)
推荐(0)