G
G
Gogr2282020-06-27 17:45:04
PHP
Gogr228, 2020-06-27 17:45:04

How to validate user agent?

Good evening, please tell me how to properly validate HTTP_USER_AGENT.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ilya, 2020-06-27
@New_Horizons

What exactly do you want to check?
Perhaps this liba piwik/device-detector
will help, or something else .

N
Nadim Zakirov, 2020-06-27
@zkrvndm

No way. The only adequate way is to manually draw up blacklists and ban too smart ones on them.

D
Denis Pablo, 2020-06-29
@fl3xice

https://github.com/WhichBrowser/Parser-PHP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question