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

When to use self over $this?

564


Explain me difference between mysql_connect and mysql_pconnect?

560


What is pdo classes?

568


How can you submit a form without a submit button?

531


Can we override static method?

535






What exactly is PHP?

614


Explain how to submit form without a submit button.

547


How can you increase the maximum execution time of a script in php?

523


Tell me how is it possible to return a value from a function?

558


What is a model in php?

550


What is the expansion of LAMP?

627


Explain what are psrs?

509


Explain php parameterized functions.

565


Which function would you use to read a line of data from a file in php?

566


When you want to show some part of a text displayed on an html page in red font color? What different possibilities are there to do this? What are the advantages/disadvantages of these methods?

518