php - Code to parse user agent string? -
As I find it strange, I will not find any good PHP functions anywhere, an intelligent pars Will a user agent string? Now it lasted for about 20 minutes.
I already have a string, I just need a few things that will bite it and at least give me browser / work / OS.
A good snippet anywhere?
The function is available for PHP for a long time.
The PHP manual is free, it can be downloaded in various formats and can be viewed online (with comments)
Comments
Post a Comment