note 73970 added to function.include

From: Date: Mon, 19 Mar 2007 01:33:09 +0000
Subject: note 73970 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-124580@lists.php.net to get a copy of this message
When I include a file, how do I make it include a file in the directory above the current one without giving the entire path to the file? say i have a folder called 'site' and in that folder i have the file 'stuff.php' and a folder called 'things' in the 'things' folder i have 'include.php' how can i include the file 'stuff.php' in the 'include.php' document? ---- Server IP: 64.71.164.2 Probable Submitter: 70.151.197.61 ---- Manual Page -- http://www.php.net/manual/en/function.include.php Edit -- https://master.php.net/note/edit/73970 Del: integrated -- https://master.php.net/note/delete/73970/integrated Del: useless -- https://master.php.net/note/delete/73970/useless Del: bad code -- https://master.php.net/note/delete/73970/bad+code Del: spam -- https://master.php.net/note/delete/73970/spam Del: non-english -- https://master.php.net/note/delete/73970/non-english Del: in docs -- https://master.php.net/note/delete/73970/in+docs Del: other reasons-- https://master.php.net/note/delete/73970 Reject -- https://master.php.net/note/reject/73970 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124580) next »