note 81660 added to tutorial.useful

From: Date: Sat, 08 Mar 2008 20:20:30 +0000
Subject: note 81660 added to tutorial.useful
Groups: php.notes 
Request: Send a blank email to php-notes+get-136847@lists.php.net to get a copy of this message
Folks, I wonder why you guys make the life hard... Why not staying in PHP all the way down. <?php if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== FALSE) { echo "<h3>strpos() must have returned non-false</h3>" "<p>You are using Internet Explorer</p>" } else { echo "<h3>strpos() must have returned false</h3>" echo "<p>You are not using Internet Explorer</p>" } ?> Cheers, mysms.ca ---- Server IP: 216.235.15.211 Probable Submitter: 64.26.156.36 ---- Manual Page -- http://www.php.net/manual/en/tutorial.useful.php Edit -- https://master.php.net/note/edit/81660 Del: integrated -- https://master.php.net/note/delete/81660/integrated Del: useless -- https://master.php.net/note/delete/81660/useless Del: bad code -- https://master.php.net/note/delete/81660/bad+code Del: spam -- https://master.php.net/note/delete/81660/spam Del: non-english -- https://master.php.net/note/delete/81660/non-english Del: in docs -- https://master.php.net/note/delete/81660/in+docs Del: other reasons-- https://master.php.net/note/delete/81660 Reject -- https://master.php.net/note/reject/81660 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136847) next »