RE: [PHP] including above current directory
| From: | Martin Towell | Date: | Mon, 12 May 2003 02:01:31 +0000 |
| Subject: | RE: [PHP] including above current directory | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-147244@lists.php.net to get a copy of this message | ||
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