note 24192 added to tutorial.useful
| From: | felipe.HAHAAHAH.lessa@php.net | Date: | Thu, 08 Aug 2002 20:36:27 +0000 |
| Subject: | note 24192 added to tutorial.useful | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-34567@lists.php.net to get a copy of this message | ||
you can also do this:
<?php if (strstr($_SERVER["HTTP_USER_AGENT"], "MSIE")) {
echo "You are using Internet Explorer (argh!)"; }
elseif (strstr($_SERVER["HTTP_USER_AGENT"], "Mozilla")) {
echo "You are using Mozilla"; }
else { echo 'Humm, look at this: $_SERVER["HTTP_USER_AGENT"]';} ?>
--
http://www.php.net/manual/en/tutorial.useful.php
http://master.php.net/manage/user-notes.php?action=edit+24192
http://master.php.net/manage/user-notes.php?action=delete+24192
http://master.php.net/manage/user-notes.php?action=reject+24192