Is there a way to use PHP to detect if the page is being loaded using IE6?
PHP has built in get_browser() function to get browser and platform.
Press F12 and select IE7 from the Browser Mode dropdown.
Try checking their user agent for 'MSIE 6.'
.
$using_ie6 = (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6.') !== FALSE);
This is based on this user agent information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With