try if( eregi("NS", $HTTP_USER_AGENT) ) { echo('You are using Netscape!'); } elseif( eregi('IE', $HTTP_USER_AGENT) ) { echo('Your using IE'); } else { echo('No Clue what the hell your using'); } ----- Original Message ----- From: "Sean Kennedy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 30, 2002 11:52 AM Subject: [PHP] RE: RE: $HTTP_USER_AGENT
> It prints out Mozilla/4.74 [en]C-CCK-MCD NS4xx/Winxx/EZN (Win95; U). Which part > of that do i use? > > Thanks, > -Sean > Kennedy > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php