Page 1 of 1
redirect to another link...
Posted: Mon May 24, 2004 10:36 pm
by kevin7
how can i redirect to another page automatically...
without the uses of header() function?
tq...
Posted: Mon May 24, 2004 10:37 pm
by PrObLeM
iyou can use html meta refresh...
<meta http-equiv="REFRESH" content="5; URL=index.php">
Posted: Mon May 24, 2004 10:42 pm
by Joe
Yeah meta refresh as said by Pr0bLeM or you can use javascript:
<script>document.location.href='http://www.yoursite.com'</script>
Joe

Posted: Mon May 24, 2004 10:42 pm
by kevin7
so, it will redirect after 5 sec?
is there anyway else?
Posted: Mon May 24, 2004 10:44 pm
by Joe
look above

Posted: Mon May 24, 2004 10:55 pm
by kevin7
yeah~ it solve my question... tq~

Posted: Mon May 24, 2004 11:15 pm
by jason
Why is it that every time I see something like this, I can't help but assume the person is having "Header's already sent errors".
Posted: Mon May 24, 2004 11:24 pm
by feyd
heh, I'm with ya there, Jason.