PHP kullanarak IE tarayıcı sürümünü tespit

0 Cevap php

I'm using $_SERVER['HTTP_USER_AGENT'] to detect user's browser. When I run the var_dump on my localhost on IE8 it returns: ...compatible; MSIE 8.0; ... But when I upload it to my host (godaddy), I get: ...compatible; MSIE 7.0; ...

Sorun ne?

0 Cevap