Q. Which of the following is the most effective way to prevent SQL injection attacks in PHP applications?

PHP अनुप्रयोगों में SQL इंजेक्शन हमलों को रोकने के लिए निम्नलिखित में से कौन सा सबसे प्रभावी तरीका है?

A
Using md5() encryption for all database queries
B
Implementing input validation and using prepared statements with parameterized queries
C
Storing SQL queries in separate PHP files
D
Using the mysql_real_escape_string() function only

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment