rsk
public php v1 · immutable function which_navigator() { $navegador="mozilla"; if(stristr($_SERVER[HTTP_USER_AGENT],"Mozilla") && stristr($_SERVER[HTTP_USER_AGENT],"Gecko")) $navegador="mozilla"; if(stristr($_SERVER[HTTP_USER_AGENT],"Mac_PowerPC") && stristr($_SERVER[HTTP_USER_AGENT],"MSIE")) $navegador="explorer"; if(stristr($_SERVER[HTTP_USER_AGENT],"Windows") && stristr($_SERVER[HTTP_USER_AGENT],"MSIE")) $navegador="explorer"; return $navegador; }