PDA

View Full Version : Browser Redirect Help +rep



mapowell1234
05-03-2008, 09:11 PM
Please can someone tell me the code to redirect Internet Explorer to a different page?

Thanks,
Mark Powell

Hypertext
05-03-2008, 09:57 PM
<meta http-equiv="refresh" content="x;yyyyy.html" />

x being the time in seconds eg 9 seconds, yyyyy being the file you want to redirect to or...

in php:

<?php

header("Location: yyyyy.html");

?>

Colin-Roberts
05-03-2008, 10:09 PM
That's not what he wanted. he wants the code that if it's ie it goes to a different page then firefox.

loserWILL
05-03-2008, 10:34 PM
Here you go:



<!--[if IE]>
<meta http-equiv="refresh" content="0;url=page.ext" />
<![endif]-->

Want to hide these adverts? Register an account for free!