".$ua->getEngineVersion().
print("
The operating system is reported as "".$ua->getOS().""\n");
print("
The system platform is reported as "".$ua->getPlatform().""\n");
print("
The browser language is reported as "".$ua->getLanguage().""\n");
-if ($ua->geckobased()) { print("
The Gecko date is reported as "".$ua->getGeckoDate().""\n"); }
+if ($ua->hasEngine('gecko')) {
+ print("
The Gecko date is reported as "".$ua->getGeckoDate().""\n");
+ print("
The full Gecko date/time is reported as "".date('r',$ua->getGeckoTime()).""\n");
+}
print("
I conclude this must be ".$ua->getBrand()." ".$ua->getVersion()."\n");
print("
This is ".($ua->isBot()?"an":"no")." automated robot.\n");
@@ -36,7 +39,7 @@ print("\n");
print("
Test the following UA string (leave empty to read it from your browser):\n");
print("\n");
$wrapper->pgbottom();
?>