note 68126 added to function.require

From: Date: Fri, 14 Jul 2006 00:42:15 +0000
Subject: note 68126 added to function.require
Groups: php.notes 
Request: Send a blank email to php-notes+get-114771@lists.php.net to get a copy of this message
If you are experiencing a bug related to using relative paths with include or require, it may be related to a grandparent directory that is executable but not readable. It will cause __FILE__ to return a relative path instead of the full path which it is supposed to show. This manifests itself in interesting ways that can be seemingly unrelated. For instance, I discovered it using the Smarty {debug} command which failed to find its template due to this issue. Please see the following for more details: http://bugs.php.net/bug.php?id=34552 http://shiftmanager.net/~kurt/test/ ---- Server IP: 64.71.164.2 Probable Submitter: 68.35.62.190 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.require.php Edit -- http://master.php.net/note/edit/68126 Del: integrated -- http://master.php.net/note/delete/68126/integrated Del: useless -- http://master.php.net/note/delete/68126/useless Del: bad code -- http://master.php.net/note/delete/68126/bad+code Del: spam -- http://master.php.net/note/delete/68126/spam Del: non-english -- http://master.php.net/note/delete/68126/non-english Del: in docs -- http://master.php.net/note/delete/68126/in+docs Del: other reasons-- http://master.php.net/note/delete/68126 Reject -- http://master.php.net/note/reject/68126 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#114771) next »