Home > Article > Backend Development > How to add backslash before quotes in php (remove backslash in php)
The following introduces three methods to solve this problem: 1. Modify the PHP configuration file php.ini This method is only suitable if you have the right to manage the server. If you use virtual space, you can only use the last two methods. In the PHP configuration file php.ini, set magic_quotes_gpc, magic_quotes_runtime, and magic_quotes_sybase to off. As follows:
|