PHP TutorialsPhp What is
PHP INI TutorialsPhp ini What is
Magic quotes are a preprocessing feature of PHP where PHP will attempt to escape any character sequences in GET, POST, COOKIE and ENV data which might otherwise corrupt data being placed in resources such as databases before making that data available to you.
Because of character encoding issues and non-standard SQL implementations across many databases, it's not currently possible for this feature to be 100% accurate. PHP's default behavior is to enable the feature.
We strongly recommend you use the escaping mechanisms designed specifically for the database your using instead of relying on this feature.
Here magic_quotes_gpc variable have some arguments.