X-Git-Url: https://git-public.kairo.at/?p=php-utility-classes.git;a=blobdiff_plain;f=testbed%2Fua_test.php;fp=testbed%2Fua_test.php;h=4fe45a72b5558036d46a1b114284813a14f0f9f0;hp=37f2f21f3c1e63e190748b4026fa735151545655;hb=a8464009aaa1e6f4f3e1125345309e504a121e06;hpb=269bd14784a6c1aa18367d7c871ca5e55626aa30 diff --git a/testbed/ua_test.php b/testbed/ua_test.php index 37f2f21..4fe45a7 100644 --- a/testbed/ua_test.php +++ b/testbed/ua_test.php @@ -23,6 +23,7 @@ print("
This is ".($ua->isns4()?"a":"no")." Netscape Communicator 4 br print("
This is ".($ua->isie()?"an":"no")." Internet Explorer browser.\n"); print("
This is ".($ua->geckobased()?"a":"no")." Gecko-based browser.\n"); print("
This is ".($ua->khtmlbased()?"a":"no")." KHTML-based browser.\n"); +print("
This is ".($ua->isbot()?"an":"no")." automated robot.\n"); print("
The browser brand is reported as "".$ua->getBrand().""\n"); print("
The browser version is reported as "".$ua->getVersion().""\n"); if ($ua->geckobased()) { print("
The Gecko date is reported as "".$ua->geckodate().""\n"); }