Pocket PC Browser Detection. HOW???

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
jvoni
-


Joined: 15 May 2003
Posts: 9

PostPosted: Tue Jan 20, 2004 8:31 am    Post subject: Pocket PC Browser Detection. HOW??? Reply with quote

I am developing a site which will primarily be accessed on either a POCKET PC[PPC] (with Pocket internet Explorer [pie]) or a PC with IE. Bandwidth MUST be kept to a minimum for the PPC. How can I detect if it is a PPC accessing my site. PIE does not allow for scripting in the version I am developing for. Is there a way that Abyss can detect the browser? Or perhaps a PHP method? I would appreciate any possible suggestions.

JvonI
Back to top View user's profile Send private message Send e-mail Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Jan 20, 2004 2:46 pm    Post subject: Re: Pocket PC Browser Detection. HOW??? Reply with quote

jvoni,

You must use a script to inspect the value of the User-Agent header (in PHP, you can get it using the variable $_SERVER['HTTP_USER_AGENT']).

A full list of User-Agent values per browser is available at
http://www.zytrax.com/tech/web/browser_ids.htm .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
jvoni
-


Joined: 15 May 2003
Posts: 9

PostPosted: Tue Jan 20, 2004 5:01 pm    Post subject: Reply with quote

Thanks. That pointed me in the right direction. Got things working for me. I appreciate the promptness of your reply.

JvonI
Back to top View user's profile Send private message Send e-mail Visit poster's website
jvoni
-


Joined: 15 May 2003
Posts: 9

PostPosted: Wed Jan 21, 2004 5:58 am    Post subject: Reply with quote

OKay the script I have works, but I need to distinguish between pocket internet explorer and internet explorer on a pc. Pocket PC internet explorer (2003) registers as internet explorer 4 or greater. Is there a way I can distinguish the platform it is running from?

JvonI
Back to top View user's profile Send private message Send e-mail Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Jan 22, 2004 12:04 pm    Post subject: Reply with quote

jvoni,

You must distinguish them using the operating system part in the browser ID string (Windows CE or other). IMHO, this is the best and safer method.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group