What are the method available in form submitting? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

What are the method available in form submitting?

11th Jul 2018, 3:56 AM
Madhusudan Saini
Madhusudan Saini - avatar
9 Answers
+ 5
Post Get Request
11th Jul 2018, 5:30 AM
Madhusudan Saini
Madhusudan Saini - avatar
+ 5
POST and GET
12th Jul 2018, 4:41 AM
Michael saviour
Michael saviour - avatar
+ 3
POST, GET and receive
13th Jul 2018, 7:08 PM
OLANIYI Babarinde Isola
OLANIYI Babarinde Isola - avatar
+ 2
hosein Hi, How Can i help You
13th Jul 2018, 4:15 AM
Madhusudan Saini
Madhusudan Saini - avatar
+ 1
POST and GET Post is used for sensitive informations We also have the REQUEST Which can be able to recieve form data using POST and GET.
11th Jul 2018, 9:40 PM
Femi
Femi - avatar
+ 1
Get and post
12th Jul 2018, 6:45 AM
Eke Jeremiah
Eke Jeremiah - avatar
+ 1
Two methods for submitting form but you need to use Post because it's secure then GET
13th Jul 2018, 4:14 AM
Shadab Ahmad
Shadab Ahmad - avatar
+ 1
GET & POST get is unsecured method, that adds the value in the url e.g. https://someurl.in/some.php?name=valname&id=1 Here name is the variable and valname is it's value '?' is used before first variable you declared after actual url, and then '&' is used btwn two variables $name = $_GET ['name']; this is php for get method POST is more secured method where you have to give attribute 'name' which will get value of related input tag <input name="username"> this will your html and $username = $_POST ['username']; this is php value of name 'username' will be given to variable $username
21st Jul 2018, 4:05 PM
Pragnesh Katkar
Pragnesh Katkar - avatar
- 2
never heard/read about the "request" method. i think the "request" mentioned by Madhusudan Saini and Ishola Obafemi refers to AJAX requests that canbe achieved using Post or Get. https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
12th Jul 2018, 3:04 PM
seamiki
seamiki - avatar