include vs. fread

From: Date: Tue, 10 Oct 2000 19:30:04 +0000
Subject: include vs. fread
Groups: php.general 
Request: Send a blank email to php-general+get-19413@lists.php.net to get a copy of this message
Is there a better way to include the contents of file for inclusion within another file? For example, with templates is it better to create files that are of the form: echo ".... a whole bunch of stuff here..."; and then call an include() within your script. Or, is it better to do an fread() to include the contents of the file? Thanks

« previous php.general (#19413) next »