Click here to Skip to main content
15,896,495 members
Articles / Programming Languages / PHP

PHP browser detector

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
3 Jul 2011CPOL 11.6K   4  
There are several reasons why you may not want to rely on PHP to detect the browser. Some of them are summarized here[^]. In my opinion, it depends on your purpose and your target.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
3 Jul 2011vergil135 1 alternative  
Code to detect browser name in PHP.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer Comport Computing
United States United States
I am a software developer specializing in technical and numerical software systems and also a PhD Petroleum Engineer.
I started programming in IBM 1620 machine code in 1967, then FORTAN on CDC mainframes mainframes in 1970. I later used ALGOL, BASIC, FORTH, Pascal,Prolog, C, F#, C#, etc.
I generally use whatever language available thatallows me to accomplish what is neccesary.

Comments and Discussions