GET和POST方法之间的区别 [英] difference between GET and POST methods

查看:85
本文介绍了GET和POST方法之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

解决方案

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

(不,它们不是"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  > ; 
   <  头部 > 
      <  标题 > 测试脚本<  /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="<?=


这篇关于GET和POST方法之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆