note 79563 added to function.file-get-contents

From: Date: Mon, 03 Dec 2007 16:56:12 +0000
Subject: note 79563 added to function.file-get-contents
Groups: php.notes 
Request: Send a blank email to php-notes+get-132770@lists.php.net to get a copy of this message
Seems file looks for the file inside the current working (executing) directory before looking in the include path, even with the FILE_USE_INCLUDE_PATH flag specified. Same behavior as include actually. By the way I feel the doc is not entirely clear on the exact order of inclusion (see include). It seems to say the include_path is the first location to be searched, but I have come across at least one case where the directory containing the file including was actually the first to be searched. Drat. ---- Server IP: 195.221.21.36 Probable Submitter: 194.153.88.6 ---- Manual Page -- http://www.php.net/manual/en/function.file-get-contents.php Edit -- https://master.php.net/note/edit/79563 Del: integrated -- https://master.php.net/note/delete/79563/integrated Del: useless -- https://master.php.net/note/delete/79563/useless Del: bad code -- https://master.php.net/note/delete/79563/bad+code Del: spam -- https://master.php.net/note/delete/79563/spam Del: non-english -- https://master.php.net/note/delete/79563/non-english Del: in docs -- https://master.php.net/note/delete/79563/in+docs Del: other reasons-- https://master.php.net/note/delete/79563 Reject -- https://master.php.net/note/reject/79563 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#132770) next »