An attempt to extract the useful information from user-agent headers (like cellphones type) or browser or device OS where other information are not present. Recently, I came across something like there's a specification for user-agent headers. When I started this code, I expected the same but every header even those of the same manufacturer didn't seem to follow any particular standard hence the many 'if' statements in the code. Hope you find it useful...