Problems with magic_quotes
Posted: 04. January 2017 23:39
Hello there !
Im using xampp v3.2.2 ( 7.0.13 / PHP 7.0.13 ) - Windows 10 and I have the following problem :
When I try to run my script it says :
Fatal error: Cannot redeclare get_magic_quotes_gpc() in C:\xampp\htdocs\includes\defines.inc.php on line 87
On this line in that file I have:
if (version_compare(PHP_VERSION, '6.0.0') >= 0) {
function get_magic_quotes_gpc(){
return false;
}
}
Whenever I try to edit the .ini file ( I check which one I'm using from phpinfo script )I set the magic_quotes_gpc=Off to magic_quotes_gpc=On ( I tried also with space between = on etc..) and its not working.. whenever I try to start the apache from the xamp panel windows say that apache cannot start..
I tried different ways that I found in the internet but its not working.. also if I remove this from my script, then the entire script is not working..
Help me please..
Im using xampp v3.2.2 ( 7.0.13 / PHP 7.0.13 ) - Windows 10 and I have the following problem :
When I try to run my script it says :
Fatal error: Cannot redeclare get_magic_quotes_gpc() in C:\xampp\htdocs\includes\defines.inc.php on line 87
On this line in that file I have:
if (version_compare(PHP_VERSION, '6.0.0') >= 0) {
function get_magic_quotes_gpc(){
return false;
}
}
Whenever I try to edit the .ini file ( I check which one I'm using from phpinfo script )I set the magic_quotes_gpc=Off to magic_quotes_gpc=On ( I tried also with space between = on etc..) and its not working.. whenever I try to start the apache from the xamp panel windows say that apache cannot start..
I tried different ways that I found in the internet but its not working.. also if I remove this from my script, then the entire script is not working..
Help me please..