且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

GET和POST方法之间的区别

更新时间:2023-12-04 11:31:04

与读写之间的区别相同. :-)

(不,它们不是"PHP中的方法".它们是HTTP的请求方法.有关这些方法和协议的概述,请参见 http://en.wikipedia.org/wiki/HTTP [^ ].)

—SA


请尝试以下链接,

http://onlydifferencefaqs.blogspot.in/2012/08/aspnet-difference-faqs- 4.html [ ^ ]

为了更好地了解GET和POST方法


POST和GET之间的区别在于,在将数据发送到服务器时,对于POST,值不会传递到URL,而对于GET这些值将在提交时传递到URL.请参见下面的示例:
网站:http://localhost/index.php
 <   html  &gt ; 
   <  头部 > 
      <  标题 > 测试脚本<  /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 http://en.wikipedia.org/wiki/HTTP[^].)

—SA


Please try the following link,

http://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: http://localhost/index.php
<html>
   <head>
      <title>Test Script</title>
   </head>
   <body>
      <form action="<?=