If you do not want the following situations to occur in the PHP page:
Single quotes are escaped as '
Double quotes are escaped as "
Then you can make the following settings to prevent:
Method 1: Set in php.ini: magic_quotes_gpc = Off
Method 2: $str=stripcslashes($str)
http://www.bkjia.com/PHPjc/629793.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629793.htmlTechArticleIf you do not want the following situation to occur in the PHP page: single quotes are escaped as ' and double quotes are escaped as then You can make the following settings to prevent: Method 1: Set in php.ini: magic_quotes_gpc...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn