[support] IE Redirect

Victor Trac victor.trac at gmail.com
Tue May 16 17:27:02 UTC 2006


<?php
if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Firefox') ) {
  header("Location: http://domain.com/ie_only.php");
}

...

?>

Must have it run before any other HTML is outputted.

-Victor


On 5/16/06, Peter Apockotos <drupal at apockotos.com> wrote:
>
> Does anyone have a php script that will recognize Internet Explorer
> and redirect all iE users to a specific page?
>
> Thank you,
>
> Peter Apockotos
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>



-- 
http://www.victortrac.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20060516/a31f58c7/attachment.htm


More information about the support mailing list