Code to parse user agent string?

后端 未结 5 2049
礼貌的吻别
礼貌的吻别 2020-12-01 16:00

As strange as I find this, I have not been able to find a good PHP function anywhere which will do an intelligent parse of a user agent string? Googled it for about 20 minut

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-01 16:09

    The get_browser() function has been available in PHP for quite a long a time.

    The PHP manual is free, can be downloaded in various formats and viewed online (with comments)

提交回复
热议问题