GET和POST方法之间的区别

编程入门 行业动态 更新时间:2024-10-11 15:14:26
本文介绍了GET和POST方法之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

php中GET和POST方法之间的区别是什么?

解决方案

与读写之间的区别相同. :-) (不,它们不是"PHP中的方法".它们是HTTP的请求方法.有关这些方法和协议的概述,请参见 en.wikipedia/wiki/HTTP [^ ].)
—SA

请尝试以下链接, onlydifferencefaqs.blogspot.in/2012/08/aspnet-difference-faqs- 4.html [ ^ ] 为了更好地了解GET和POST方法

POST和GET之间的区别在于,在将数据发送到服务器时,对于POST,值不会传递到URL,而对于GET这些值将在提交时传递到URL.请参见下面的示例: 网站:localhost/index.php

< html > ; < 头部 > < 标题 > 测试脚本< /title > < /head > < 正文 > < 表单 动作 =" <?=

What is the difference between GET and POST methods in php ??

解决方案

Same as the difference between read and write. :-) (No, they are not "methods in PHP". They are Request Methods of HTTP. For the overview of these methods and the protocol, see en.wikipedia/wiki/HTTP[^].)
—SA

Please try the following link, onlydifferencefaqs.blogspot.in/2012/08/aspnet-difference-faqs-4.html[^] for better insight of GET and POST methods

The difference between POST and GET is that while data is being sent to the server, for POST, the values are not passed to the URL while for GET the values are passed to the URL on submit. See the example below: Site: localhost/index.php

<html> <head> <title>Test Script</title> </head> <body> <form action="<?=

更多推荐

GET和POST方法之间的区别

本文发布于:2023-10-10 21:23:40,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1479786.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:区别   方法   POST

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!