On Tue, Apr 03, 2001 at 03:11:49PM +0200, Michael Rudel wrote:
> <?php
>    // Redirects to another Page using HTTP-META Tag
>    function redirect( $url, $message = "", $delay = 0 )
>    {
>       /* redirects to a new URL using meta tags */
>       echo "<meta http-equiv='Refresh' content='".$delay."; url=".$url."'>";
>       if ( !empty( $message ) )
>          die( "<div style='font-family: Arial, Sans-serif; font-size: 12pt;' 
>align=center> ".$message." </div>" );
>    }
> ?>
> 
> Greetinx,
>   Mike
> 
> Michael Rudel
> - Web-Development, Systemadministration -
> _______________________________________________________________
> 
> 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
> _______________________________________________________________
> 
> 
> 

For you, the same remark I got at my first reaction....

J.R. doesn't want to redirect...

And _if_ you want to redirect from a PHP-script; why not just use
the functions that are available for such actions:

header()

Why would you want to output some HTML-code that redirects when you
can redirect right a way. And... I heard/read in the HTML-newsgroup
(quite some time ago...) that not all browsers support the refresh
meta-tag.

-- 

* R&zE:

***************************
**  Renze Munnik
**
**  E: [EMAIL PROTECTED]
**  M: +31 6 218 111 43
***************************

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