| 
 Posted by KoRnDragon on 06/07/06 19:06 
I'm using a script to detect which browser is using in order to include 
the correct stylesheet but on this one page 
(http://korndragon.com/ffa5.php) It thinks I'm using Internet Explorer 
when I'm really using FireFox. I have the same script included on all 
pages on my site and it's never messed up before. In fact It's included 
inside the nav, so nothing was changed. 
 
The script itself: http://korndragon.com/style.php (view source and you 
can see the comment of which stylesheet is being used) 
 
The source: http://www.sitepoint.com/article/browsers-suck-php-rescue 
 
Anyway, it's just that one page that it's included on thinks I'm using 
Internet Explorer (I've asked others and they said it's doing the same 
thing) I included the script (style.php) at the top of the page so it's 
easier to find the commented source. 
 
Any ideas? 
 
Thanks in advance.
 
  
Navigation:
[Reply to this message] 
 |