[Gllug] anyone into PHP/JScript?
gllug at uncertainty.org.uk
gllug at uncertainty.org.uk
Wed Nov 7 11:45:01 UTC 2001
On Wed, Nov 07, 2001 at 09:42:07AM +0000, Wulf Forrester-Barker wrote:
> > The alternitive is can I do it in Jscript? I know I can do it in asp, but
> > I'm trying to use a decent OS!!!
>
> You can include the following the head section of your page:
>
> <meta http-equiv="refresh" content="XX">
>
> XX is in the form [num_seconds];URL
>
> I use it on a webpage that reloads itself every 5 minutes (300 seconds), thereby displaying pseudo-realtime information on certain key systems it monitors. If you set the seconds to 0, it will immediately load the page referred to by URL (so don't point it to itself!).
>
> It's not the PHP way, and I'm not sure how backward compatible it is, but it is standard html and certainly works in IE4+, Netscape 4+ and Opera 5+.
>
> Wulf
>
but why send an http-equiv when you can (in this instance) send and http ?
(or even better do the redirection internally)
--
Sean
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list