Hi Jennifer,

use my function:

<?php
   // Redirects to another Page using HTTP-META Tag
   function redirect( $url, $delay = 0, $message = "" )
   {
      /* redirects to a new URL using meta tags */
      echo "<meta http-equiv='Refresh' content='".$delay."; url=".$url."'>";
      die( "<div style='font-family: Arial, Sans-serif; font-size: 12pt;' 
align=center> ".$message." </div>" );
   }
?>

... in your case this will be:

<?php redirect( "login.php", 5, "<B>logging out</B>" ); ?>

Hope this helps.

Greetinx,
  Mike

Michael Rudel
- Web-Development, Systemadministration -

Besuchen Sie uns am 20. und 21. August 2001 auf der
online-marketing-düsseldorf in Halle 1 Stand E 16
_______________________________________________________________

Suchtreffer AG
Bleicherstraße 20
D-78467 Konstanz
Germany
fon: +49-(0)7531-89207-17
fax: +49-(0)7531-89207-13
e-mail: mailto:[EMAIL PROTECTED]
internet: http://www.suchtreffer.de
_______________________________________________________________



> -----Original Message-----
> From: Jennifer Arcino Demeterio [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 11:31 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] delay script
>
>
> hello!
>
> does anyone knows how to delay a display of a certain page
> ... for example,
> if i will click on "logout" button, it will show a page which will say
> "logging out" then after 5 seconds it will redirect to the login page.
>
>
> thanks =)
>
>


-- 
PHP Database 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