Zend
200-530 · Question #539
Which of the following functions will you use as a countermeasure against a SQL injection attack?
The correct answer is D. mysql_escape_string(). See the full explanation below for the reasoning.
Question
Which of the following functions will you use as a countermeasure against a SQL injection attack?
Options
- Aescapeshellcmd()
- Bmysql_fetch_array()
- Cescapeshellarg()
- Dmysql_escape_string()
How the community answered
(35 responses)- A6% (2)
- B3% (1)
- C11% (4)
- D80% (28)
Community Discussion
No community discussion yet for this question.