note 90470 added to tutorial.useful
| From: | heavenward at osu1 dot php dot net | Date: | Thu, 23 Apr 2009 22:16:33 +0000 |
| Subject: | note 90470 added to tutorial.useful | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-153638@lists.php.net to get a copy of this message | ||
$is_browser_ie = (strpos($_SERVER['HTTP_USER_AGENT'],'MSIE'))?"Yes, your
browser is Internet Explorer":"No, your browser is not Internet Explorer";
echo $is_browser_ie;
echo "<br/><br/>or<br/><br/>";
$is_browser_ie = (strpos($_SERVER['HTTP_USER_AGENT'],'MSIE'))?1:0;
if($is_browser_ie) {echo "Yes, your browser is Internet Explorer";}
else {echo "No, your browser is not Internet Explorer";}
Yea, it can be useful -_-
----
Server IP: 69.147.83.197
Probable Submitter: 85.100.70.109
----
Manual Page -- http://www.php.net/manual/en/tutorial.useful.php
Edit -- https://master.php.net/note/edit/90470
Del: integrated -- https://master.php.net/note/delete/90470/integrated
Del: useless -- https://master.php.net/note/delete/90470/useless
Del: bad code -- https://master.php.net/note/delete/90470/bad+code
Del: spam -- https://master.php.net/note/delete/90470/spam
Del: non-english -- https://master.php.net/note/delete/90470/non-english
Del: in docs -- https://master.php.net/note/delete/90470/in+docs
Del: other reasons-- https://master.php.net/note/delete/90470
Reject -- https://master.php.net/note/reject/90470
Search -- https://master.php.net/manage/user-notes.php