RE: [PHP] including above current directory

From: Date: Mon, 12 May 2003 02:11:41 +0000
Subject: RE: [PHP] including above current directory
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147245@lists.php.net to get a copy of this message
just do a pwd in the path and give it the full path usually this is how i include files outside the web dir > with ".." > > include "../filename.inc"; > > -----Original Message----- > From: Mike Mannakee [mailto:mike@basementideas.com] > Sent: Monday, May 12, 2003 11:54 AM > To: php-general@lists.php.net > Subject: [PHP] including above current directory > > > Possibly a stupid question, but how do I reference a directory a level > above the current file in a hierarchy, in an include statement? Or two > levels? > > Before you ask, I'm not talking about going above the document root, > just a folder or two up. > > Mike > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#147245) next »