New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Zend PHP 5 Certification 200-500 Question # 44 Topic 5 Discussion

Zend PHP 5 Certification 200-500 Question # 44 Topic 5 Discussion

200-500 Exam Topic 5 Question 44 Discussion:
Question #: 44
Topic #: 5

Which is the most secure approach for handling dynamic data in SQL queries?


A.

Use addslashes().


B.

Enable magic_quotes_gpc.


C.

Use prepared statements if supported by the database library, data-specific escaping functions otherwise.


D.

Use stored procedures.


Get Premium 200-500 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.