Re: including html

From: Date: Fri, 02 Mar 2001 09:20:35 +0000
Subject: Re: including html
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-42314@lists.php.net to get a copy of this message
> > Marcos wrote: > > > index.php > > include ('info.html) > > I think > > readfile($inputFileName); > > would be a better option. > FYI You might want to add headers using header() with readfile(). PHP does not parse with readfile(), so it is more efficient. i.e. PHP does not look for <?php ?>. (I use include() always, though) Regards, Yasuo Ohgaki

« previous php.general (#42314) next »