Re: go to another file

From: Date: Wed, 07 Jun 2000 17:23:46 +0000
Subject: Re: go to another file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1215@lists.php.net to get a copy of this message
This is what you need: ------------------------- if ($a==0) { readfile("test.php3"); exit; }; ------------------------- Regards, Ayman Mackouly ----- Original Message ----- From: Thorsten Weigl <t.weigl@weigl.de> To: <php-general@lists.php.net> Sent: Wednesday, June 07, 2000 4:59 PM Subject: [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 (#1215) next »