PHP/mdetect.php
function uagent_info()
   { 
	 $this->useragent = isset($_SERVER['HTTP_USER_AGENT'])?strtolower($_SERVER['HTTP_USER_AGENT']):'';
	 $this->httpaccept = isset($_SERVER['HTTP_ACCEPT'])?strtolower($_SERVER['HTTP_ACCEPT']):'';
		
	 //Let's initialize some values to save cycles later.
	 $this->InitDeviceScan();
   }
function uagent_info()
   { 
	 $this->useragent = isset($_SERVER['HTTP_USER_AGENT'])?strtolower($_SERVER['HTTP_USER_AGENT']):'';
	 $this->httpaccept = isset($_SERVER['HTTP_ACCEPT'])?strtolower($_SERVER['HTTP_ACCEPT']):'';
		
	 //Let's initialize some values to save cycles later.
	 $this->InitDeviceScan();
   }
function uagent_info ( ) { $ this -> useragent = isset ( $ _SERVER [ 'HTTP_USER_AGENT' ] ) ? strtolower ( $ _SERVER [ 'HTTP_USER_AGENT' ] ) : '' ; $ this -> httpaccept = isset ( $ _SERVER [ 'HTTP_ACCEPT' ] ) ? strtolower ( $ _SERVER [ 'HTTP_ACCEPT' ] ) : '' ; //Let's initialize some values to save cycles later.
 $ this -> InitDeviceScan ( ) ; }
The object initializer. Initializes several default variables.
The object initializer . Initializes several default variables .