PHP/mdetect.php
function DetectWapWml()
   {
       if (stripos($this->httpaccept, $this->vndwap) > -1 ||
           stripos($this->httpaccept, $this->wml) > -1)
         return $this->true; 
      else
         return $this->false; 
   }
function DetectWapWml()
   {
       if (stripos($this->httpaccept, $this->vndwap) > -1 ||
           stripos($this->httpaccept, $this->wml) > -1)
         return $this->true; 
      else
         return $this->false; 
   }
function DetectWapWml ( ) { if ( stripos ( $ this -> httpaccept , $ this -> vndwap ) > - 1 || stripos ( $ this -> httpaccept , $ this -> wml ) > - 1 ) return $ this -> true ; else return $ this -> false ; }
Detects whether the device supports WAP or WML.
Detects whether the device supports WAP or WML .