SarkariResultess QA Bank

PHP SQL injection से बचने का सही तरीका क्या है? इसका basic मतलब क्या है?

Other 0 Views Verified
PHP SQL injection से बचने का सही तरीका क्या है? इसका basic मतलब क्या है? सही विकल्प चुनें और code/solution को समझें।
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified

SQL string concatenate करना

SQL string concatenate करना
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Verified Correct Answer

PDO prepared statements with bound parameters

PDO prepared statements with bound parameters
Additional Explanation
Prepared statements SQL और user input को अलग रखते हैं।
Verified

केवल trim() करना

केवल trim() करना
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Verified

password को query में जोड़ना

password को query में जोड़ना
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।