关于form表单中method里get和post的区别
2014-08-17 22:38
309 查看
在html里form可谓不得不用的一条代码,而form里的method选项里只有get和post两种。
因为我们大多数情况下只有post,所以get和post的区别很容易被遗忘。
简单区别来讲:
get提交:提交的数据会在ul上进行提交,明文不加密,不安全,提交的数据有限。
Post提交:以form表单封装的方式提交,适合提交大量的数据,相对安全。
虽然我们很少用get,但是我们一定常见到这种方式,只是我们很少注意到罢了。
比如,百度的搜索内容就是用的get方式,我们可以在url上看到我们都提交了些什么内容。
因为我们大多数情况下只有post,所以get和post的区别很容易被遗忘。
简单区别来讲:
get提交:提交的数据会在ul上进行提交,明文不加密,不安全,提交的数据有限。
Post提交:以form表单封装的方式提交,适合提交大量的数据,相对安全。
虽然我们很少用get,但是我们一定常见到这种方式,只是我们很少注意到罢了。
比如,百度的搜索内容就是用的get方式,我们可以在url上看到我们都提交了些什么内容。
相关文章推荐
- form表单中method的get和post区别
- Form表单中method="post/get'的区别
- form表单中method的get和post区别
- form表单中method的get和post区别
- Form表单中method="post/get'的区别
- form表单中method的get和post区别
- form表单中method的get和post区别
- Form表单中method=post/get两种数据传输的方式的区别
- form表单中method 的get和post区别
- form表单中method的get和post区别
- Form表单中method="post/get'的区别
- form 表单中method的get和post的区别
- Form表单中method="post/get'的区别
- form表单中method的get和post区别
- Form表单中method="post/get'的区别
- Form表单中method为get和post的区别
- form表单中method的get和post区别
- 关于Form的method属性get和post是有区别滴
- form表单中method的get和post区别
- form表单提交 get与post 区别 以及forward(连同提交方式也) 转发