note 37353 deleted from function.include by didou

From: Date: Wed, 12 Nov 2003 07:23:40 +0000
Subject: note 37353 deleted from function.include by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-60287@lists.php.net to get a copy of this message
Note Submitter: dan =att= drydog =dott= com ---- If the file you're including has no php markup, just use readfile() instead of include(). It's more efficient. Make sure you include the parenthesis though! For example, replace: <?php include "$somefilename"; ?> With: <?php readfile("$somefilename"); ?>

« previous php.notes (#60287) next »