Jump to content

[SOLVED] Browser Compatibility


tronicsmasta

Recommended Posts

eg: :)

 

if (browser = IE) {
echo "<br>";
} 

if (browser = Mozilla) {
echo "whatever i need here";
}

 

echo "$_SERVER['HTTP_USER_AGENT']";
// Outputs for Mozilla   --  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
// or IE   --  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.