Does anyone have a php script that will recognize Internet Explorer and redirect all iE users to a specific page? Thank you, Peter Apockotos
<?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@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/ ]
Err.. please replace 'Firefox' with 'MSIE'. :) On 5/16/06, Victor Trac <victor.trac@gmail.com> wrote:
<?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@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/ ]
On May 16, 2006, at 1:28 PM, Victor Trac wrote:
Err.. please replace 'Firefox' with 'MSIE'. :)
On 5/16/06, Victor Trac <victor.trac@gmail.com> wrote: <?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
LOL Thank you Victor
participants (2)
-
Peter Apockotos -
Victor Trac