Question: What are the differences between Get and post methods in form submitting?
Answer:
A. In the get method the data made available to the action page (where data is received) by the URL so data can be seen in the address bar. Not advisable if you are sending login info like password etc. In the post method the data will be available as data blocks and not as query string in case of get method.
The key difference between GET and POST is that POST has side-effects‚ and thus browsers will present a confirmation dialog to the user on refresh or "back".
Secure file download in PHP, Security question PHP, PHP MYSQL Interview Question -Books download - PHP solutions guidelines queries update, phpmysqlquestion
Showing posts with label Question: What are the differences between Get and post methods in form submitting?. Show all posts
Showing posts with label Question: What are the differences between Get and post methods in form submitting?. Show all posts
Monday, November 10, 2008
Subscribe to:
Posts (Atom)
Kubernetes in one shotcat
root@srv509172:~# cat kind1/config.yaml kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane image: kindest/nod...
-
Introduction to PHP PDO (PHP Data Objects) 1. What is PDO 2. What Databases does PDO support 3. Where do I begin? 4. Connect to ...
-
var collectionNames = db.getCollectionNames(), stats = []; collectionNames.forEach(function (n) { stats.push(db[n].stats()); }); stats = s...
-
SimpleXML does not parse text inside CDATA tags in an XML. Consider the XML below: $str = ''; $str.='some text goes here'; ...