How to detect "Google Chrome" as the user-agent using PHP?

Posted by Zubin on Stack Overflow See other posts from Stack Overflow or by Zubin
Published on 2010-06-15T18:20:11Z Indexed on 2010/06/15 18:22 UTC
Read the original article Hit count: 278

I'm interested to know whether the user-agent is "Chrome" at the server end using PHP. Is there a reliable regular expression for parsing out the user-agent string from the request header?

© Stack Overflow or respective owner

Related posts about regex

Related posts about chrome