PHP Classes

HTTP_USER_AGENT

Recommend this page to a friend!

      Browser Detect  >  All threads  >  HTTP_USER_AGENT  >  (Un) Subscribe thread alerts  
Subject:HTTP_USER_AGENT
Summary:http_user_agent
Messages:2
Author:joe siao
Date:2006-01-16 22:56:30
Update:2006-01-17 04:54:56
 

 


  1. HTTP_USER_AGENT   Reply   Report abuse  
Picture of joe siao joe siao - 2006-01-16 22:56:30
i don't trust that variable to get browser details. In some situations,this variable doesn't have a value.

  2. Re: HTTP_USER_AGENT   Reply   Report abuse  
Picture of Paul Scott Paul Scott - 2006-01-17 04:54:56 - In reply to message 1 from joe siao
$_SERVER[] is an apache specific global. In the case of using MS ISS or another web server, it will be unavailable AFAIK. However, that being said, it *should* always be populated in normal circumstances. It is pretty reliable that way!