Re: including above current directory

From: Date: Mon, 12 May 2003 02:59:48 +0000
Subject: Re: including above current directory
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-147249@lists.php.net to get a copy of this message
Yeah, but for some reason that's not working for me. This is what I've been using, but I haven't been able to get at anything two levels up - in other words "../../". I thought maybe I had it wrong so I was checking. Mike <daniel@electroteque.org> wrote in message news:59897.203.15.102.65.1052705501.squirrel@www.electroteque.org... > 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 (#147249) next »