Tags: ie,browser detection

Sort by: Date / Title /

  1. 9 years ago by sm0k1nggnu
    1. <?php
    2.         $useragent = $_SERVER['HTTP_USER_AGENT'];
    3.  
    4.    
    5. if( eregi("(msie) ([6]{1})",$useragent) )
    6. {print "IE 8.0 -> do something";}
    7.  
    8. else
    9. { } 
    10. ?>
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1706"></script>

First / Previous / Next / Last / Page 1 of 1 (1 posteets)