Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

check if the client is Miscrosoft Internet Explorer

Mon Oct 27, 2008 6:31 pm

Code:
<?
$agent
= getenv("HTTP_USER_AGENT");
echo(
$agent);

if (
preg_match("/MSIE/i", $agent)) {
     
$result = "You are using Microsoft Internet Explorer.";
}else {
     
$result = "You are using $agent";
}
?>




Post a reply
  Related Posts  to : check if the client is Miscrosoft Internet Explorer
 Datepicker issue with Internet Explorer     -  
 Solution to AJax Cache problem with Internet Explorer     -  
 client server client     -  
 Internet backbone     -  
 Get MX records corresponding to a given Internet host name     -  
 ow do you get html files onto the internet?     -  
 VOIP Voice-Over-Internet Protocol     -  
 Deploying J2ee application for internet     -  
 Strange Problem with Internet Browsers and Permissions     -  
 Check DNS error     -  

Topic Tags

PHP Basics