What and How possible injection in PHP and mysql?

Answer Posted / ram

sql injection can be given along with user supplied data.
Examples of sql injection:

' or 1=1 --
' OR '1'='1. these sort of input could break into the code
by tricking the sql query.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of php variables?

543


What are the ways to define a constant in php?

528


How a constant is defined in a php script?

570


What u mean by query?

486


Explain the purpose of output buffering in php.

512






Does https prevent csrf?

520


What are the advantages of triggers?

530


Why did you choose this particular career path?

8354


Write an example to remove html tags from a string in php?

523


What is the difference between php and cakephp?

525


What is the use of anonymous function in php?

555


What is strcmp () in php?

531


What sized websites have you worked on in the past?

539


What are the advantages of php?

539


What is orm in php framework?

502