Hi, with my current host I need Magic Quotes GPC turned on - or I have to upgrade
Can I change the OpenCart settings? and how would I do this?
This is a horrible hack.... but.....
You can work around magic quotes by disabling the check for it in opencart, and manually un-doing what magic quotes does by doing the following on every page load before any other php is run:
1) use get_magic_quotes_gpc() to see if it's enabled
2) if it is enabled, use stripslashes() on EVERY $ _POST and $ _GET item.
And why do I get a Forbidden http code back if I have a dollar sign and then _POST or _GET ??
You can work around magic quotes by disabling the check for it in opencart, and manually un-doing what magic quotes does by doing the following on every page load before any other php is run:
1) use get_magic_quotes_gpc() to see if it's enabled
2) if it is enabled, use stripslashes() on EVERY $ _POST and $ _GET item.
And why do I get a Forbidden http code back if I have a dollar sign and then _POST or _GET ??
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot], darkhorse, Semrush [Bot] and 157 guests