Advertisements
Advertisements
प्रश्न
Write the purpose Get method and Post method.
टिप्पणी लिखिए
Advertisements
उत्तर
All input values are synchronized and sent to the server via POST method or GET method. Method is an attribute form tag in HTML. Once the data reaches the server, two PHP variables such as $_POST and $_GET collects the data and prepares the response accordingly.
- Post Method:
The input data sent to the server with POST method is stored in the request body of the client’s HTTP request. - Get Method:
The input data sent to the server with POST method via URL address is known as a query string. All input data are visible by a user after they clicks the submit button.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
