RE: [PHP-GENERAL] go to another file
| From: | Dyas, Alex | Date: | Wed, 07 Jun 2000 15:22:38 +0000 |
| Subject: | RE: [PHP-GENERAL] go to another file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-1216@lists.php.net to get a copy of this message | ||
One way of doing it:
<code>
// file start.php3
if ( $a == 1 )
{
$url = "http://www.yahoo.com";
echo "<meta content=\"1;$url\" http-equiv=\"refresh\">";
}
</code>
alex..
> -----Original Message-----
> From: Thorsten Weigl [mailto:t.weigl@weigl.de]
> Sent: 07 June 2000 15:59
> To: php-general@lists.php.net
> 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
>
>
--
This communication contains information which is confidential and
may also be privileged. It is for the exclusive use of the
intended recipient(s). If you are not the intended recipient(s),
please note that any distribution, copying or use of this
communication or the information in it is strictly prohibited.
If you have received this communication in error, please notify
the sender immediately and then destroy any copies of it.