GET and POST IN php

It is for static page, dynamic page, website, SEO, performance and other web development discussion
Joshi jahanvi

GET and POST IN php

Postby Joshi jahanvi » Thu Sep 11, 2014 4:05 pm

Explain "GET" and "POST" methods.


Guest

Re: GET and POST IN php

Postby Guest » Wed Oct 08, 2014 1:27 pm

POST METHOD:
The POST method generates a FORM collection, which is sent as a HTTP request body. All the values typed in
the form will be stored in the FORM collection.
GET METHOD:
The GET method sends information by appending it to the URL (with a question mark) and stored as A Querystring collection. The Querystring collection is passed to the server as name/value pair.
The length of the URL should be less than 255 characters.

sonall gajera

Re: GET and POST IN php

Postby sonall gajera » Wed Jul 01, 2015 11:11 am

GET METHOD: The GET method produces a long string that appears in your server logs in the browser's Location box.The GET method is restricted to send upto 1024 characters only.

POST METHOD: The POST method transfers information via HTTP headers. The information is encoded as described in case of GET method and put into a header called QUERY_STRING.The POST method does not have any restriction on data size to be sent.



Return to “PHP, HTML, MYSQL and Web Hosting”

Who is online

Users browsing this forum: No registered users and 2 guests