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 <[EMAIL PROTECTED]>:

> 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:[EMAIL PROTECTED]
> Sent: Saturday, June 07, 2003 9:35 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: REDIRECT
>
>
> not with php directly, but you can do that with HTML
meta tags, check
> google for "Meta refresh"
>
>
> "Dale" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > 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
--------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to