RE: [PHP-WIN] Re: branching to another php file
| From: | Benjamin Hardy | Date: | Mon, 13 Nov 2000 17:32:41 +0000 |
| Subject: | RE: [PHP-WIN] Re: branching to another php file | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-3815@lists.php.net to get a copy of this message | ||
Sharp points to watch out for:
1. Make sure that your included files have the PHP code embedded in the
usual <? and ?> delimeters.
2. There should be no reason why you can't do a structure similar to the
following:
<?php
if (condition) {
include(file1);
else {
include(file2);
}
-----Original Message-----
From: -- [mailto:051581324@doar.net]
Sent: Monday, November 13, 2000 09:30
To: php-windows@lists.php.net
Subject: [PHP-WIN] Re: branching to another php file
Thanks for the answer, but it yet reacts exactly like "readfile"
Assil
===========
> <?
> include 'index.php';
> ?>
>
> -- Ben Cairns, Head Of Technical Operation, Intasept.com
> E-Mail: BenC@intasept.com | Web:
> http://www.intasept.com
>
--
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