Alternatively, remember that HTML has this built in (and PHP outputs a HTML page):

move c) before a)
implement it using a meta tag in the HTML page HEAD section
d) will then happen after the defined time period

Regards,
=dn

----- Original Message ----- 
From: "Jon Farmer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: 17 January 2002 12:42
Subject: Re: [PHP] Display a mesagge and redirect (newbie)


> c) and d) are clientside functions if you have already outputted data to the
> browser so use Javascript to do them
> 
> --
> Jon Farmer
> Systems Programmer, Entanet www.enta.net
> Tel 01952 428969 Mob 07763 620378
> PGP Key available, send email with subject: Send PGP Key
> 
> 
> ----- Original Message -----
> From: "Simos Varelakis" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 17, 2002 12:36 PM
> Subject: [PHP] Display a mesagge and redirect (newbie)
> 
> 
> > Hi to everyone
> >
> > I want to do the following and i dont know if its possible with php code
> >
> > a) run a mysql query
> > b) display a simpe message
> > c) delay few seconds
> > d)auto redirect to a page
> >
> > can I do this with php
> > i know how to do a) and b) and I can't do c) and d)
> >
> > note that if i try d) with function header ("location URL'")  got an error
> > for headers already send :-(
> >
> > Thanks in advance for your help and time
> >
> > Best regards
> >
> > simos
> >
> >
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to