Re: [PHP] Detect and Redirect Mobile Users

2013-06-15 Thread Tamara Temple
Ford, Mike wrote: > (someone else wrote:) > > $browser = get_browser(null, TRUE); > > if (isset($browser['ismobiledevice']) && ($browser['ismobiledevice'] == > > TRUE)) { > > $isMobile = TRUE; > > } > > else { > > = FALSE; Mike's remarks below notwithstanding, I think something fell off

RE: [PHP] Detect and Redirect Mobile Users

2013-06-14 Thread Ford, Mike
> -Original Message- > From: Dead Letter.Office [mailto:dead.letter.off...@isam.co.nz] > Sent: 14 June 2013 05:22 > To: php-general@lists.php.net > > http://php.net/manual/en/misc.configuration.php#ini.browscap > http://tempdownloads.browserscap.com/ > > $browser = get_browser(null, TRUE)

Re: [PHP] Detect and Redirect Mobile Users

2013-06-14 Thread Marc Guay
http://www.answershat.com/questions/352/How-to-get-rid-of-spam-mail-in-my-mailbox On 14 June 2013 09:28, Chirag Vekariya wrote: > Hi, > Post your question to http://answershat.com > > On Thu, Jun 13, 2013 at 4:49 AM, dealTek wrote: > >> Hi all, >> >> I'm curious of a simple, common, universal wa

Re: [PHP] Detect and Redirect Mobile Users

2013-06-14 Thread Chirag Vekariya
Hi, Post your question to http://answershat.com On Thu, Jun 13, 2013 at 4:49 AM, dealTek wrote: > Hi all, > > I'm curious of a simple, common, universal way to detect a mobile user so > I can redirect them to a mobile directory... > > What is best for this: Javascript - CSS - PHP? > > I think fo

Re: [PHP] Detect and Redirect Mobile Users

2013-06-14 Thread Camilo Sperberg
On Jun 13, 2013, at 15:31, Camille Hodoul wrote: > Hello, > > I stumbled upon this the other day : > http://mobiledetect.net/ > I haven't tried it yet, since I have my own small user agent parser when I > need it, but it may help you if it's a pure php solution you're looking for. > > Have a n

Re: [PHP] Detect and Redirect Mobile Users

2013-06-13 Thread Dead Letter.Office
http://php.net/manual/en/misc.configuration.php#ini.browscap http://tempdownloads.browserscap.com/ $browser = get_browser(null, TRUE); if (isset($browser['ismobiledevice']) && ($browser['ismobiledevice'] == TRUE)) { $isMobile = TRUE; } else { $isMobile = FALSE; } unset($browser); -- PHP

Re: [PHP] Detect and Redirect Mobile Users

2013-06-13 Thread Camille Hodoul
Hello, I stumbled upon this the other day : http://mobiledetect.net/ I haven't tried it yet, since I have my own small user agent parser when I need it, but it may help you if it's a pure php solution you're looking for. Have a nice day 2013/6/13 dealTek > Hi all, > > I'm curious of a simple,

Re: [PHP] Detect and Redirect Mobile Users

2013-06-13 Thread Matijn Woudt
On Thu, Jun 13, 2013 at 3:20 PM, Matijn Woudt wrote: > > > > On Thu, Jun 13, 2013 at 3:17 AM, Paul M Foster wrote: > >> On Wed, Jun 12, 2013 at 04:19:50PM -0700, dealTek wrote: >> >> > Hi all, >> > >> > I'm curious of a simple, common, universal way to detect a mobile user >> so I can redirect th

Re: [PHP] Detect and Redirect Mobile Users

2013-06-13 Thread Matijn Woudt
On Thu, Jun 13, 2013 at 3:17 AM, Paul M Foster wrote: > On Wed, Jun 12, 2013 at 04:19:50PM -0700, dealTek wrote: > > > Hi all, > > > > I'm curious of a simple, common, universal way to detect a mobile user > so I can redirect them to a mobile directory... > > > > What is best for this: Javascript

Re: [PHP] Detect and Redirect Mobile Users

2013-06-13 Thread raphael khaiat
Hi, On Thu, Jun 13, 2013 at 1:19 AM, dealTek wrote: > Hi all, > > I'm curious of a simple, common, universal way to detect a mobile user so > I can redirect them to a mobile directory... > > What is best for this: Javascript - CSS - PHP? > > I think for my purposes if I can detect screen size or

Re: [PHP] Detect and Redirect Mobile Users

2013-06-12 Thread Tihanyi Péter
Hi, It might be a good solution for your problem: http://detectmobilebrowsers.com/ You can find php, js, apache, etc scripts for your problem. Regards, Peter Tihanyi http://systream.hu 2013.06.13. 1:19 keltezéssel, dealTek írta: Hi all, I'm curious of a simple, common, univ

Re: [PHP] Detect and Redirect Mobile Users

2013-06-12 Thread Paul M Foster
On Wed, Jun 12, 2013 at 04:19:50PM -0700, dealTek wrote: > Hi all, > > I'm curious of a simple, common, universal way to detect a mobile user so I > can redirect them to a mobile directory... > > What is best for this: Javascript - CSS - PHP? > > I think for my purposes if I can detect screen