note 9892 added to get_browser
| From: | mrcheezy at hotmail dot com | Date: | Thu, 30 Nov 2000 00:00:26 +0000 |
| Subject: | note 9892 added to get_browser | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8283@lists.php.net to get a copy of this message | ||
$str_css = ereg('MSIE',getenv('HTTP_USER_AGENT')) ? 'ie.css.php3' :
'ns.css.php3';
require($str_css);
to include a css style sheet create an ie style sheet called ie.css.php3 and one called ns.css.php3
http://www.php.net/manual/function.get-browser.php