RE: [PHP] preprocessing a php file within another.
| From: | Don Read | Date: | Sat, 28 Oct 2000 08:22:17 +0000 |
| Subject: | RE: [PHP] preprocessing a php file within another. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22425@lists.php.net to get a copy of this message | ||
On 28-Oct-00 Deepak Chawla wrote:
> Hi folks,
>
> I have a problem. I have a file (say 01.php) which has some variables set
> from a posted form in html. I now need to process another file (say
> 02.php), which is a html file with php script embeded in it. The
> processing should take place within 01.php. Not only that, the processing
> of 02.php should be done with the environment of 01.php ( I need the form
> variables in 02.php).
>
I might be missing something but ...
require('02.php') -or- include('02.php') ??
Regards,
--
Don Read dread@texas.net
There are old sailors, and there are foolish
sailors; but damn few old foolish sailors.
---------------------------------------------