If you do not want the following situation 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: magic_quotes_gpc = Off in PHP.ini
Method 2: $str=stripcslashes($str)
http://www.bkjia.com/PHPjc/319542.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/319542.htmlTechArticleIf you do not want the following situations 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 it: Method 1: Set in PHP.ini: magic_quotes_...