AW: [PHP-GENERAL] go to another file

From: Date: Wed, 07 Jun 2000 15:18:52 +0000
Subject: AW: [PHP-GENERAL] go to another file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1219@lists.php.net to get a copy of this message
Hi! You can do that only if there was no HTML Output before, because then you can use the following : if ($is) { echo("\n<HEAD>"); echo("\n<meta http-equiv=\"refresh\" content=\"0; URL=script.php3\">"); echo("\n</HEAD>"); } But this is only possible if no <HEAD></HEAD> has been sent before i guess. bye, Nico Blanke > -----Ursprüngliche Nachricht----- > Von: Thorsten Weigl [mailto:t.weigl@weigl.de] > Gesendet: Mittwoch, 7. Juni 2000 16:59 > An: php-general@lists.php.net > Betreff: [PHP-GENERAL] go to another file > > > Hello! > > I can't find a function for the following case. > > If the if-clause in the file start.php3 is true, I want to go to the > file test.php3. > > But I don't want to include it! > > It should be startet like I would have followed a hyperlink. > > // file start.php3 > if ( $a == 1 ) > { > include ("test.php3"); // -> link directly ! > } > > Thank you so much, > > Thorsten > > -- > weigl !interService > > thorsten weigl > [director, business development] > > >> tel +49-89-510 99 310 > >> fax +49-89-510 99 311 > >> email t.weigl@weigl.de > > we do the network > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#1219) next »