note 106137 deleted from tutorial.useful by danbrown

From: Date: Thu, 13 Oct 2011 17:31:48 +0000
Subject: note 106137 deleted from tutorial.useful by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-183861@lists.php.net to get a copy of this message
Note Submitter: qiang1012 at gmail dot com ---- if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== FALSE) I changed "MSIE" to "Mozilla" and ran it in Firefox, the result was not what I expected. Finally, I find that strpos('Mozilla xxxx', 'Mozilla') returns 0 which equals to FALSE. I don't think your example is good for freshman.

« previous php.notes (#183861) next »