Posted By

traeregan on 10/08/09


Tagged

redirect ie ie6 ci codeigniter


Versions (?)

Who likes this?

8 people have marked this snippet as a favorite

vali29
dantreacy
jatap
tamala73
grablermassive
camilinha
educsis
Gabrielyan


CodeIgniter: Redirect Internet Explorer Visitors


 / Published in: PHP
 

  1. $this->load->library('user_agent');
  2. if($this->agent->browser() == 'Internet Explorer' AND in_array($this->agent->version(), array('6.0','7.0')))
  3. {
  4. redirect('some_page');
  5. }

Report this snippet  

You need to login to post a comment.