Posted By

frederick on 07/10/10


Tagged


Versions (?)

if-ie6


 / Published in: PHP
 

  1. <?
  2. if(substr_count($_SERVER['HTTP_USER_AGENT'],"MSIE 6")){
  3. echo "";
  4. }
  5. else{
  6. echo "";
  7. }
  8. ?>
  9.  
  10.  
  11. <?=(substr_count($_SERVER['HTTP_USER_AGENT'],"MSIE 6")) ? "gif" : "png"; ?>
  12.  
  13.  
  14.  
  15.  

Report this snippet  

You need to login to post a comment.