When you use the $_POST variable to collect data, the data is visible to __? Explain. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

When you use the $_POST variable to collect data, the data is visible to __? Explain.

Options are :- 1.none 2.only you 3.none of above options

14th Aug 2020, 6:24 PM
navneet
navneet - avatar
2 Answers
+ 1
I think option 2, only you, but this is a funny question. POST does not include query params in the URL so the data SENT is visible to only you. Contrary to what this question suggests, POST is not used to collect data and even no matter what you use to collect data in a secure connection, it is visible to only you
14th Aug 2020, 6:27 PM
Ore
Ore - avatar
+ 1
It is not visible to others. So option 2 suites. Ore 👍
14th Aug 2020, 7:45 PM
Jayakrishna 🇮🇳