Re: Detecting devices i.e. PDA, Mobile

From: Date: Sun, 12 Oct 2003 02:02:10 +0000
Subject: Re: Detecting devices i.e. PDA, Mobile
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-165872@lists.php.net to get a copy of this message
Take a look at what is printed by: var_dump($_SERVER); Maybe the HTTP_USER_AGENT can lead you to somewhere out of this problem. Manu. "Shaun" <shaun@mania.plus.com> wrote in message news:20031011120232.14638.qmail@pb1.pair.com... > Hi, > > I have created an online system, and have created a WAP version, and am > currently crreating a PDA version. What I wuold like to to do is give out > the same URL instead of domain.com for normal use, domain.com/wap/ or > domain.com/pda/. Is there a way of detecting what device is loading the site > and redirect them accordingly? > > Thanks for your help

« previous php.general (#165872) next »