A
A
Alexander Bagirov2015-01-19 17:26:59
PHP
Alexander Bagirov, 2015-01-19 17:26:59

What functions should be used to secure forms?

Hello!
What functions in PHP should be used to protect information received from forms, except for trim() and mysql_real_escape_string() for subsequent writing to the database?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2015-01-19
@alexbagirov

Both of these functions are unsuitable for protection against sql injection.
Use PDO

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question