Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

browser version

Status
Not open for further replies.

spookie

Programmer
May 30, 2001
655
IN
hi all,
how do i get the user's browser version ?
i tried everything from the manual i could get the which browser user is using like ie nn etc but not the version.
thanks in advance
spookie
 
Put this script(name it whatever you want) in your document root and invoke it in the browser:

<? phpinfo(); ?>

it will show you the entire environment - you want the section titled &quot;Apache Environment&quot; - probably the HTTP_USER_AGENT field.

HTH.
Hardy Merrill
Mission Critical Linux, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top