In my code I have the following: My question is, does magic_quotes affect $_FILES and / or $_SESSION? Also, are there any other variables that I've missed above that magic_quotes affects? Thanks in advance! Green rep to any (good) answers.
It affects the http Request data such as, Get, Post and Cookie, so probably not $_FILES or $_SESSION. http://php.net/magic_quotes
According to the Php docs, slashes are only added to GET, POST and COOKIE. So I guess FILES and SESSION are not affected.
I saw your post in the user-contributed notes so I was still wondering why you asked when it was right above. Seemed weird at first.