Answer the question
In order to leave comments, you need to log in
Is there a database of valid User Agents broken down by browsers?
It is necessary to determine who is requesting the page - the user in the browser or a bot.
You need to define it on the server side, javascript will not work.
The task of resisting the intentional substitution of the User Agent by bots is not worth it.
Are there any up-to-date lists of UAG matches for specific browsers in nature?
Answer the question
In order to leave comments, you need to log in
http://php.net/manual/ru/function.get-browser.php
For this function to work, the correct path to the browscap.ini file on your system must be set in the browscap installation in the php.ini settings.
http://tempdownloads.browsercap.com/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question