I have a line like this in my php file:
SERVER_NAME = $_SERVER["SERVER_NAME"];
For some reason, Netbeans flags it with a yellow triangle warning to its left saying:
"Do not access Superglobal $_SERVER Array directly"
Can anyone please give me any explanation why accessing $_SERVER could be bad? Or is Netbeans just full of it?