Briefing Zend Knowledge

Which of the following can be used as a countermeasure against the SQL injection attack?

Which of the following can be used as a countermeasure against the SQL injection attack?
Each correct answer represents a complete solution. Choose two.

A.
session_regenerate_id()

B.
Prepared statement

C.
mysql_escape_string()

D.
mysql_real_escape_string()

Explanation: