I use Phpnow to carry a simple Web page to implement SQL injection, but in php.ini to change the MAGIC_QUOTES_GPC to off useless, run the following code always return y:
if (GET_MAGIC_QUOTES_GPC ())
{
Echo ' Y ';
}
Else
{
Echo ' N ';
}
?>
How to make Phpnow not automatically escaped
Reply to discussion (solution)
1. PHP.ini needs to be restarted after the revision is completed
2. I do not know Phpnow installation will not contain multiple versions of PHP, you need to see if you are not modifying the current version of PHP.ini (Phpstudy will appear this situation, do not know Phpnow have)
1. PHP.ini needs to be restarted after the revision is completed
2. I do not know Phpnow installation will not contain multiple versions of PHP, you need to see if you are not modifying the current version of PHP.ini (Phpstudy will appear this situation, do not know Phpnow have)
Thank you ah, the reason I found myself, originally I carry the configuration file of the webpage is not php.ini, is another file, I changed to be able to implement SQL injection