php method to unescape: 1. Enter the php installation directory, find and open the php.ini configuration file; 2. Find the magic_quotes_gpc option; 3. Change the value of this option to Off, and save the configuration file That’s it.
Specific method:
(Recommended tutorial: php graphic tutorial)
Enter first PHP installation directory, find the php.ini file in the installation directory and open it with Notepad.
Then in the opened php.ini file, look for the magic_quotes_gpc option. If it cannot be found, add the configuration magic_quotes_gpc=Off in the configuration file.
(Learning video recommendation: php video tutorial)
The above is the detailed content of How to unescape in php. For more information, please follow other related articles on the PHP Chinese website!