Re: Include path
| From: | John W. Holmes | Date: | Fri, 23 Jul 2004 19:26:28 +0000 |
| Subject: | Re: Include path | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191680@lists.php.net to get a copy of this message | ||
PHP Gen wrote:
Hello, I am a bit confused :-(, this is my server path: /home/sites/site80/web/articles/myfile.php from "myfile.php" I want to include "header.php" which is located in: /home/sites/site80/web/templates/include('/home/sites/site80/web/templates/header.php'); Are you looking for a relative path or wondering why include('header.php') doesn't work, or what? -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com