Current User: Guest Login
Please consider registering

Lost Your Password?

Search Forums:


Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Iphone recognition

Reply to Post Add a New Topic

3:37 pm
October 23, 2010



Just a heads up.

Iphone safari browser useragnet contains Mac OSX. The default order for OS recognition finds this before it finds Iphone so it thinks OS is Max OSX when it is really IOS.

11:28 am
October 25, 2010



posts 1125


Did you try to change the order within so that the iPhone string comes before the Mac strings ? This should solve the matter for the iPhone Safar browser.

Here is the user agent of Safari on my iPhone:

Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; fr-fr) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7

And this is the user agent of Opera on iPhone:

Opera/9.80 (iPhone; Opera Mini/5.0.019802/21.529; U; fr) Presto/2.5.25 Version/10.54

As you see, this last one will not be matched by iphone[_+ ]os  which is used by AWStats to recognize iPhones. One could also check the Firefox user agent on iPhone.

If changes are made in , I would suggest to just use iphone  to detect the iPhone operating system.

Reply to Post

Reply to Topic:
Iphone recognition

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
5 + 11

About the Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
6 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710


There are 257 Members
There have been 304 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)