note 24706 added to tutorial.useful

From: Date: Mon, 26 Aug 2002 16:15:55 +0000
Subject: note 24706 added to tutorial.useful
Groups: php.notes 
Request: Send a blank email to php-notes+get-35668@lists.php.net to get a copy of this message
That displays this code: You are using Internet Explorer.<br> You are not using Internet Explorer.<br> Try this instead: <?php if (strstr($_SERVER["HTTP_USER_AGENT"], "MSIE")) { echo "You are using Internet Explorer."; } else { echo "You are not using Internet Explorer.}; ?> -- http://www.php.net/manual/en/tutorial.useful.php http://master.php.net/manage/user-notes.php?action=edit+24706 http://master.php.net/manage/user-notes.php?action=delete+24706 http://master.php.net/manage/user-notes.php?action=reject+24706

« previous php.notes (#35668) next »