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

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -