What the difference between GET and POST in php to sent a form ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What the difference between GET and POST in php to sent a form ??

pls explain a little bit guys

1st Dec 2017, 2:14 PM
Aaron Teh
Aaron Teh - avatar
2 Answers
+ 6
Information sent from a form via the POST method is invisible to others, but in case of Get method it is visible
1st Dec 2017, 2:22 PM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar
0
GET method send data to server using url link, which its data is exposed to public, no security imposed. POST method sending data in the body, so its data is more private. But if POST data send though http, its data still can be viewed by any url hijack tool. More secured method to send data to server is to POST method with https link.
1st Dec 2017, 4:35 PM
Calviղ
Calviղ - avatar