+ 7
What are the method available in form submitting?
10 Respuestas
+ 5
Post
Get
Request
+ 5
POST and GET
+ 3
POST, GET and receive
+ 2
hosein Hi, How Can i help You
+ 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.
+ 1
Get and post
+ 1
Two methods for submitting form but you need to use Post because it's secure then GET
+ 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
- 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