PHP/mdetect.php
function DetectPalmOS()
   {
      //Most devices nowadays report as 'Palm', but some older ones reported as Blazer or Xiino.
      if (stripos($this->useragent, $this->devicePalm) > -1 ||
          stripos($this->useragent, $this->engineBlazer) > -1 ||
          stripos($this->useragent, $this->engineXiino) > -1)
      {
         //Make sure it's not WebOS first
         if ($this->DetectPalmWebOS() == $this->true)
            return $this->false;
         else
            return $this->true; 
      }
      else
         return $this->false; 
   }
function DetectPalmOS()
   {
      //Most devices nowadays report as 'Palm', but some older ones reported as Blazer or Xiino.
      if (stripos($this->useragent, $this->devicePalm) > -1 ||
          stripos($this->useragent, $this->engineBlazer) > -1 ||
          stripos($this->useragent, $this->engineXiino) > -1)
      {
         //Make sure it's not WebOS first
         if ($this->DetectPalmWebOS() == $this->true)
            return $this->false;
         else
            return $this->true; 
      }
      else
         return $this->false; 
   }
function DetectPalmOS ( ) { //Most devices nowadays report as 'Palm', but some older ones reported as Blazer or Xiino.
 if ( stripos ( $ this -> useragent , $ this -> devicePalm ) > - 1 || stripos ( $ this -> useragent , $ this -> engineBlazer ) > - 1 || stripos ( $ this -> useragent , $ this -> engineXiino ) > - 1 ) { //Make sure it's not WebOS first
 if ( $ this -> DetectPalmWebOS ( ) == $ this -> true ) return $ this -> false ; else return $ this -> true ; } else return $ this -> false ; }
Detects if the current browser is on a PalmOS device.
Detects if the current browser is on a PalmOS device .