the_demon
Elite Member
- Nov 23, 2008
- 3,220
- 1,512
Ok, I see so many of you guys in need of help and so many crappy meta resfresh scripts out there...
What many of you do not know is:
Chrome blocks PHP Location redirects
Firefox can easily block meta refresh
Various plugins can block javascript redirects
Here's my solution that kicks the browsers @$$!
For people who need double refresh just copy this code and set the first page to redirect to page B (on your domain) Then bounce it out to final destination. You can of course use refer checks, magic key checks, browser checks, ip checks, etc. It all depends on what your purpose is.
REP or Thanks appreciated
What many of you do not know is:
Chrome blocks PHP Location redirects
Firefox can easily block meta refresh
Various plugins can block javascript redirects
Here's my solution that kicks the browsers @$$!
Code:
<?php
header( 'http://mydomain.com/mywebpage.php' );
?>
<meta http-equiv="refresh" content="0;url=http://mydomain.com/mywebpage.php" />
<script type="text/javascript">
window.location = "http://mydomain.com/mywebpage.php"
</script>
For people who need double refresh just copy this code and set the first page to redirect to page B (on your domain) Then bounce it out to final destination. You can of course use refer checks, magic key checks, browser checks, ip checks, etc. It all depends on what your purpose is.
REP or Thanks appreciated
Last edited: