bradgrafelman;10915160 wrote:Hello again Amy. 🙂
Hey there!
In case you haven't read it already, the PHP.net Manual has more up-to-date information about Magic Quotes here: [man]magic_quotes[/man]. It basically explains what it was used for and why it's no longer considered a good solution.
Okay, thanks for the link.
As for what each option does individually, the comments in the php.ini file explain it in a nutshell. For more information, you can visit the links for each directive in the PHP manual here: [man]ini.list[/man] (just scroll down to the 'magic_quotes_' group).
I read that as well as the comments in my php.ini file, but didn't really undestand the difference between...
; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = On
; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
magic_quotes_runtime = Off
Isn't everything happening at "runtime"?
I guess magic_quotes_gpc should be set to off however I wasn't able to understand the difference between when and where these two lines are being used.
Amy