public function isAndroid() { if(isset($_SERVER['HTTP_USER_AGENT'])){ $agent = strtolower($_SERVER['HTTP_USER_AGENT']); if(strpos($agent,'android') !== false) return true; } return false; }
public function isAndroid() { if(isset($_SERVER['HTTP_USER_AGENT'])){ $agent = strtolower($_SERVER['HTTP_USER_AGENT']); if(strpos($agent,'android') !== false) return true; } return false; }