A couple of undefined variables

Signed-off-by: emanuele <emanuele45@gmail.com>
I may be dumb, but this is the same

Signed-off-by: emanuele <emanuele45@gmail.com>
Avoid overwrite $_REQUEST values

Signed-off-by: emanuele <emanuele45@gmail.com>
NetBeans says this is not compatible with the php we are using, also I think it's easier to grab them in the look we do

Signed-off-by: emanuele <emanuele45@gmail.com>
Missing globals, non-used globals, small mistakes, usual trolling

Signed-off-by: emanuele <emanuele45@gmail.com>
 If it is never set (and has never been), let's get rid of it

Signed-off-by: emanuele <emanuele45@gmail.com>