Submitted by saagar.jain on Sat, 2007-05-19 15:19.
There is a feature called magic quotes that was created to help protect newbie programmers from writing bad form
processing code. Magic quotes would automatically escape risky form data that might be used for SQL Injection with a
backslash \. The characters escaped by PHP include: quote ', double quote ", backslash \ and NULL characters.
Re: What is magic quotes in Php ?
There is a feature called magic quotes that was created to help protect newbie programmers from writing bad form
processing code. Magic quotes would automatically escape risky form data that might be used for SQL Injection with a
backslash \. The characters escaped by PHP include: quote ', double quote ", backslash \ and NULL characters.