note 72007 added to function.include

From: Date: Thu, 28 Dec 2006 19:27:46 +0000
Subject: note 72007 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-120988@lists.php.net to get a copy of this message
I have to agree with sean dot farrell at digital-egg dot org. If I put "../" or "./" in a call to include(), I expect it to be relative to the file I am including from, not the current working directory of the application. This backwards mentality for relative paths really interferes with PHP's ability to build packages of files independent of an application. ---- Server IP: 64.71.164.2 Probable Submitter: 24.234.89.120 ---- Manual Page -- http://www.php.net/manual/en/function.include.php Edit -- https://master.php.net/note/edit/72007 Del: integrated -- https://master.php.net/note/delete/72007/integrated Del: useless -- https://master.php.net/note/delete/72007/useless Del: bad code -- https://master.php.net/note/delete/72007/bad+code Del: spam -- https://master.php.net/note/delete/72007/spam Del: non-english -- https://master.php.net/note/delete/72007/non-english Del: in docs -- https://master.php.net/note/delete/72007/in+docs Del: other reasons-- https://master.php.net/note/delete/72007 Reject -- https://master.php.net/note/reject/72007 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#120988) next »