Re: Read Vs. Include

From: Date: Fri, 26 Jan 2001 10:31:49 +0000
Subject: Re: Read Vs. Include
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36766@lists.php.net to get a copy of this message
> I want to *read* a file into a page and not process any PHP. I'm just > reading an HTML file. I though it was simple, I thought I had it figured > out, but now when I try, I get the following error: Unless there is PHP code in there that you want to make sure it doesn't get executed, 'include' will work just fine. If you need to read the file and splat it to the browser, I think passthru() is what you want. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#36766) next »