Gen. partnerAlgotech

Receiving data by POST method

|
August 22, 2019

Sending data by POST is quite different from GET, it is safer, the text can be longer and its value cannot be determined except by a form or a header (which you will not get by mistake).

Source

Source is not that different from the GET method. It's pretty much the same, except the parameters are not displayed in the URL, only the filename is visible.

echo $_POST['clanek'] ?? '';

Characteristics, advantages and disadvantages

  • Parameters cannot be linked to, but a form must be sent to them
  • Cannot be indexed (related to the previous point)
  • Safer than GET (data is sent in a hidden way, values are not displayed in the history)
  • Not to be confused with SSL, POST is not encrypted
Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.