AW: [PHP-WIN] How can i redirect a php file?

From: Date: Tue, 10 Oct 2000 13:55:56 +0000
Subject: AW: [PHP-WIN] How can i redirect a php file?
Groups: php.windows 
Request: Send a blank email to php-windows+get-3098@lists.php.net to get a copy of this message
Hi Jorge, use this one (you can use it at any position in your Code !!!): <?php 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)) echo "<div style='font-family: Arial, Sans-serif; font-size: 12pt;' align=center>$message</div>"; die; } ?> Greetinx, Mike (Germany) -----Ursprüngliche Nachricht----- Von: Jorge Nishikuni [mailto:tokuji@tutopia.com] Gesendet: Dienstag, 10. Oktober 2000 15:55 An: Php-List Betreff: [PHP-WIN] How can i redirect a php file? Wichtigkeit: Hoch Hi, I need how to redirect a php file from other php file, not using links either Forms embedded in php file. I know tod do in asp file (Response.Redirect("page.php3")) but in php ??? Thanks. Jorge Nishikuni System Engineer Address : Avenida 2H # 52AN-34, Apto 303C (Cali-Colombia) Phone : 57+2+6654959 E-mail : tokuji@tutopia.com Icq Number : 17691468 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#3098) next »