Page 1 of 1

who can i disabel magic_quotes_gpc

Posted: Fri Mar 06, 2009 2:08 am
by mohandes_fs
who can i disabel magic_quotes_gpc ?
I want to disabel it from opencart's codes

Re: who can i disabel magic_quotes_gpc

Posted: Mon Mar 16, 2009 3:14 am
by bunaioding
you can go to this page, read X-Rayden post, you can see the answer.
http://forum.opencart.com/viewtopic.php?t=3123

And I did it working. http://www.bunaioding.co.cc/store/
My success store. :3
And it's didn't need to delete the all words.
just need to hide it, then it's working. :3
so it's also can be keep in the php file, when one day you want to find it back, it's still there. :3

Code: Select all

// ini_set('magic_quotes_gpc', 'Off');

// if (ini_get('magic_quotes_gpc')) {
//	exit('Error: magic_quotes_gpc is enabled!');
// }

Re: who can i disabel magic_quotes_gpc

Posted: Mon Mar 16, 2009 9:26 pm
by Daniel
downoload the latest version i have disabled the requirement and added a compatibility fix.