Using $_SERVER to see if it's more reliable.