How to get user agent in php. It is easy to get vistors information(user agent or browser information) in php.