note 102714 added to function.require

From: Date: Tue, 01 Mar 2011 21:41:53 +0000
Subject: note 102714 added to function.require
Groups: php.notes 
Request: Send a blank email to php-notes+get-177469@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. BsnTech Networks http://www.bsntech.com ---- Server IP: 208.69.120.55 Probable Submitter: 98.214.209.29 ---- Manual Page -- http://www.php.net/manual/en/function.require.php Edit -- https://master.php.net/note/edit/102714 Del: integrated -- https://master.php.net/note/delete/102714/integrated Del: useless -- https://master.php.net/note/delete/102714/useless Del: bad code -- https://master.php.net/note/delete/102714/bad+code Del: spam -- https://master.php.net/note/delete/102714/spam Del: non-english -- https://master.php.net/note/delete/102714/non-english Del: in docs -- https://master.php.net/note/delete/102714/in+docs Del: other reasons-- https://master.php.net/note/delete/102714 Reject -- https://master.php.net/note/reject/102714 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#177469) next »