note 102714 modified in function.require by danbrown

From: Date: Tue, 01 Mar 2011 21:43:01 +0000
Subject: note 102714 modified in function.require by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-177470@lists.php.net to get a copy of this message
If you use the require directive to load a file, your script will die if the file is not found or the user that is running the web server does not have read access to it. In some cases, this is ok - but if you want a site to still function for visitors without displaying a white page, use the 'include' directive instead. When using 'include', the site will still load - minus any materials that is in that file. Brian S. --was-- If you use the require directive to load a file, your script will die if the file is not found or the user that is running the web server does not have read access to it. In some cases, this is ok - but if you want a site to still function for visitors without displaying a white page, use the 'include' directive instead. When using 'include', the site will still load - minus any materials that is in that file. Brian S. BsnTech Networks http://www.bsntech.com http://php.net/manual/en/function.require.php

« previous php.notes (#177470) next »