Phpnow how to disable magic_quotes_gpc I use phpnow to install a simple web page to implement SQL injection, but it is useless to change magic_quotes_gpc to off in php. ini. run the following code to always return Y:
If (get_magic_quotes_gpc ())
{
Echo 'y ';
}
Else
{
Echo 'n ';
}
?>
How to make phpnow not automatically escape
Reply to discussion (solution)
1. restart php. ini after modification
2. I don't know if phpnow will contain multiple php versions during installation. you need to check whether you have modified the current version of php. ini (phpstudy does not know if phpnow is available)
1. restart php. ini after modification
2. I don't know if phpnow will contain multiple php versions during installation. you need to check whether you have modified the current version of php. ini (phpstudy does not know if phpnow is available)
Thank you. I found the cause myself. the configuration file of my webpage is not php. ini, but another file. After I changed it, I can implement SQL injection.