Forum Moderators: coopster

Message Too Old, No Replies

magic quotes gpc settings

         

Gian04

4:50 pm on Oct 31, 2007 (gmt 0)

10+ Year Member



For optimal security what should be the settings of my magic_quotes_gpc? OFF or ON?

jatar_k

4:55 pm on Oct 31, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



having it on is a hassle and provides a false sense of security

it will be gone in php 6
[php.net...]

Gian04

5:22 pm on Oct 31, 2007 (gmt 0)

10+ Year Member



I installed Joomla, and it says that I should turn it ON for optimum security

jatar_k

5:25 pm on Oct 31, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



they're lying

the software should do all data cleaning and not rely on a server setting that may, or may not, be set to do some of it.

When magic_quotes are on, all ' (single-quote), " (double quote), \ (backslash) and NUL's are escaped with a backslash automatically.

not adequate to represent "secure"