Hướng dẫn php check browser version
I am trying to use PHP to detect which version of a browser is being used. so far I have managed to find out which browser is being used but not which version of that browser can anyone suggest what I need to be able to find this out Here is what i have so far. Thanks
asked Jul 23, 2014 at 11:31
You can use get_browser. Example from PHP doc:
Result in:
answered Jul 23, 2014 at 11:35
DebflavDebflav 1,1317 silver badges17 bronze badges You can detect the browser by using Browser class download it from Github Configuration
similarly you can check all the browsers. answered Mar 3, 2015 at 12:29
ManjuManju 7474 gold badges10 silver badges21 bronze badges 1 the best way to do this is as follows Note that this returns an object not a string. So to access the browser information, you could do this I hope this helps. answered Dec 10, 2015 at 14:35
you can use the below code to find the browser + version this is html and javascript
answered Jul 23, 2014 at 11:44
Ajit SinghAjit Singh 1,1121 gold badge14 silver badges23 bronze badges |