A
A
Alexey2015-10-06 18:46:33
PHP
Alexey, 2015-10-06 18:46:33

Do I need to filter POST in this case?

Such situation. The user fills out the form and sends it to the server. I check all incoming data and if an error is found somewhere, I need to return the form with the data that the user entered into it.
The server generates the form and puts $_POST['title'] as the value parameter in the type="text" field.
Do I need to check/filter $_POST['title'] again?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question