RE: [PHP] Re: REDIRECT
| From: | myphp | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | RE: [PHP] Re: REDIRECT | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150571@lists.php.net to get a copy of this message | ||
PUT THE CODE BELOW INTO < HEAD > TAG OF ANY PAGE TO
REDIRECT IT:-
<script language='JavaScript'>
setTimeout("location.href='http://www.your-page.com/index.php'",
200);
/script>
Change the number 200 to anything you want.
The following sample is what I use it for:
http://www.eastlothian.org/03eloG.php
Chris
----------
Quoting Boaz Yahav <berber@netvision.net.il>:
> To save you the search :
>
> How to use META REFRESH to auto refresh an html page
after x seconds.
> http://examples.weberdev.com/get_example.php3?count4
>
> Sincerely
>
> berber
>
> Visit http://www.weberdev.com/ Today!!!
> To see where PHP might take you tomorrow.
>
>
>
> -----Original Message-----
> From: Bobby Patel [mailto:anup_patel@rogers.com]
> Sent: Saturday, June 07, 2003 9:35 AM
> To: php-general@lists.php.net
> Subject: [PHP] Re: REDIRECT
>
>
> not with php directly, but you can do that with HTML
meta tags, check
> google for "Meta refresh"
>
>
> "Dale" <DaleHersh@hotmail.com> wrote in message
> news:20030607063126.5912.qmail@pb1.pair.com...
> > Does anybody know of a way to redirect to another
page once you have
> already
> > outputted html to the screen. In other words, I want
to output some
> > text
> to
> > the screen for 10 secs and then re-direct to another
page.
> >
> > Thanks,
> > Dale
--------------