Current time: 12-28-2024, 05:32 AM Hello There, Guest! (LoginRegister)


Post Reply 
Disabling magic_quotes_gpc for the panel
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #4
RE: Disabling magic_quotes_gpc for the panel
I've had had it for some days turned off, and everything is working fine with the control panel
The cons of using it, are:
"When magic_quotes are on, all ' (single-quote), " (double quote), \ (backslash) and NUL's are escaped with a backslash automatically. "

So, if you're using htmlspecialchars() or addslashes(), things might get double escaped, getting "test" saved as \\"test\\"

More information on http://es.php.net/manual/en/info.configu...quotes-gpc
07-16-2008 05:46 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Disabling magic_quotes_gpc for the panel - aseques - 07-16-2008 05:46 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)