note 9740 added to preg_match

From: Date: Tue, 21 Nov 2000 18:52:08 +0000
Subject: note 9740 added to preg_match
Groups: php.notes 
Request: Send a blank email to php-notes+get-7957@lists.php.net to get a copy of this message
Also preg_match can be used to detect browsers. <? $browser_type = getenv("HTTP_USER_AGENT"); if (preg_match("/MSIE/i", "$browser_type")) { echo "Using MSIE."; http://www.php.net/manual/function.preg-match.php

« previous php.notes (#7957) next »