So, I have a form that accepts some input from a user, which can later be presented on the page.
The way I'm going to do this from a security point of view is to take an input, apply the mysql_real_escape_string () function to all the inputs, and then paste it using a prepared statement.
When retrieving the data, I will do htmlspecialchars () before presenting it on the screen.
Will it be okay? I do not notice something important?
source
share