X
X
Xrist1An2015-01-05 14:58:34
PHP
Xrist1An, 2015-01-05 14:58:34

How to detect IE via PHP?

Does anyone have a ready-made php regular expression for detecting IE of all versions, including the 11th one? You don't need to know which version. The main thing is the fact that the browser IE.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
O
OnYourLips, 2015-01-05
@OnYourLips

On the server side, you don't have to worry about what the client uses.
Try to determine the features of the browser on the client and do something based on this.

E
Eugene, 2015-01-05
@Nc_Soft

msie in user agent

Y
ycexa, 2015-01-09
@ycexa

Microsoft believes that their browser, attention, does not need to be detected by the user agent, since it supports all the latest standards and does not need to be distinguished from other new browsers.

There is even more interesting here: habrahabr.ru/post/201172

A
Anton Berezhkov, 2015-03-02
@BubonicPestilence

https://github.com/serbanghita/Mobile-Detect
Try it, it might work ;)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question