phphttp-headersuser-agentserver-variables

Can $_SERVER['HTTP_USER_AGENT'] value be same for 2 different users?


I am asking a basic question.

Can $_SERVER['HTTP_USER_AGENT'] be same for two different systems if the user does not modify the header information which will be set by the browser?


Solution

  • User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.74.9 (KHTML, like Gecko) Version/7.0.2 Safari/537.74.9
    

    This is my current user agent. There's nothing in there that's specific to my personal system. Anyone with the same OS with the same browser version will have this same user agent string.