RE: [PHP] preprocessing a php file within another.

From: Date: Sat, 28 Oct 2000 08:36:51 +0000
Subject: RE: [PHP] preprocessing a php file within another.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22426@lists.php.net to get a copy of this message
Thanks Don, I knew there was an easy way out. I just didn't know where to look for the door. Thanks... the include(); did work. -deepak On Sat, 28 Oct 2000, Don Read wrote: > > 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, >

« previous php.general (#22426) next »