Re: branching to another php file
| From: | Gonzalo Vera | Date: | Mon, 13 Nov 2000 16:50:49 +0000 |
| Subject: | Re: branching to another php file | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3811@lists.php.net to get a copy of this message | ||
By branching you mean you want to execute some other php script? You
can do that using require(). Require "inserts" the called script for
execution, so the result would be more or less that of "branching".
If this is not so, please post some code.
Gonzalo.
> I need to branch (on condition) to another php file.
> I used : readfile("index.php") and it does the branch to
> "index.php"
> but it returns back to continue processing the first file.
> How can I prevent returning to the first file ?
> Assil